bump fog-core dep, cleanup user-agent expectation
This commit is contained in:
parent
a1da054d69
commit
b077bb8ba8
|
@ -41,7 +41,7 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
## List your runtime dependencies here. Runtime dependencies are those
|
## List your runtime dependencies here. Runtime dependencies are those
|
||||||
## that are needed for an end user to actually USE your code.
|
## that are needed for an end user to actually USE your code.
|
||||||
s.add_dependency("fog-core", "~> 1.23")
|
s.add_dependency("fog-core", "~> 1.24")
|
||||||
s.add_dependency("fog-json")
|
s.add_dependency("fog-json")
|
||||||
|
|
||||||
s.add_dependency('nokogiri', '~> 1.5', '>= 1.5.11')
|
s.add_dependency('nokogiri', '~> 1.5', '>= 1.5.11')
|
||||||
|
|
|
@ -8,7 +8,7 @@ Shindo.tests('Fog::Core::Connection', ['core']) do
|
||||||
@instance = Fog::Core::Connection.new("http://example.com")
|
@instance = Fog::Core::Connection.new("http://example.com")
|
||||||
responds_to([:request, :reset])
|
responds_to([:request, :reset])
|
||||||
|
|
||||||
tests('user agent').returns("fog/#{Fog::VERSION}") do
|
tests('user agent').returns("fog/#{Fog::VERSION} fog-core/#{Fog::Core::VERSION}") do
|
||||||
@instance.instance_variable_get(:@excon).data[:headers]['User-Agent']
|
@instance.instance_variable_get(:@excon).data[:headers]['User-Agent']
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue