green?
This commit is contained in:
Родитель
7cfa8bbf60
Коммит
9304c64261
|
@ -24,6 +24,7 @@ jobs:
|
|||
gem install bundler
|
||||
bundle install --jobs 4 --retry 3 --without production
|
||||
bundle exec rake db:create
|
||||
bundle exec rake db:schema:load
|
||||
bundle exec rake db:migrate
|
||||
bundle exec rspec spec
|
||||
bundle exec rubocop
|
||||
bundle exec rubocop
|
||||
|
|
|
@ -39,9 +39,9 @@ module Darrrr
|
|||
expect(account_provider_faraday.headers).to include("Accept-Encoding" => "foo")
|
||||
|
||||
# assert handler is property set
|
||||
handler = JSON.parse(account_provider_faraday.to_json)["builder"]["handlers"]
|
||||
handler = JSON.parse(account_provider_faraday.to_json)["builder"]["adapter"]
|
||||
expect(handler).to_not be_nil
|
||||
handler_name = handler.first["name"]
|
||||
handler_name = handler["name"]
|
||||
expect(handler_name).to_not be_nil
|
||||
expect(handler_name).to eq("Faraday::Adapter::NetHttp")
|
||||
end
|
||||
|
|
|
@ -56,9 +56,9 @@ module Darrrr
|
|||
expect(recovery_provider_faraday.headers).to include("Accept-Encoding" => "foo")
|
||||
|
||||
# assert handler is property set
|
||||
handler = JSON.parse(recovery_provider_faraday.to_json)["builder"]["handlers"]
|
||||
handler = JSON.parse(recovery_provider_faraday.to_json)["builder"]["adapter"]
|
||||
expect(handler).to_not be_nil
|
||||
handler_name = handler.first["name"]
|
||||
handler_name = handler["name"]
|
||||
expect(handler_name).to_not be_nil
|
||||
expect(handler_name).to eq("Faraday::Adapter::NetHttp")
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче