spec/routemaster/api_client_spec.rb in routemaster-drain-3.6.4 vs spec/routemaster/api_client_spec.rb in routemaster-drain-3.6.5
- old
+ new
@@ -51,10 +51,10 @@
it 'passes headers' do
headers['x-custom-header'] = 'why do you even'
subject.status
assert_requested(:get, /example/) do |req|
expect(req.headers.keys).to include('X-Custom-Header')
- expect(req.headers['User-Agent']).to eql "RoutemasterDrain - Faraday v0.15.3"
+ expect(req.headers['User-Agent']).to eql "RoutemasterDrain - Faraday v#{Faraday::VERSION}"
end
end
describe 'source peer' do
context 'with a source peer' do