mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix for user agent tests excon usage
This commit is contained in:
parent
67650e2b3e
commit
fd126aa457
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
Shindo.tests('Fog::Connection', 'core') do
|
||||
tests('user_agent').returns("fog/#{Fog::VERSION}") do
|
||||
conn = Fog::Connection.new("http://www.testserviceurl.com", false, {})
|
||||
conn.instance_variable_get(:@excon).connection[:headers]['User-Agent']
|
||||
conn.instance_variable_get(:@excon).data[:headers]['User-Agent']
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue