1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

bump fog-core dep, cleanup user-agent expectation

This commit is contained in:
geemus 2014-10-10 09:23:10 -05:00
parent a1da054d69
commit b077bb8ba8
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ Gem::Specification.new do |s|
## List your runtime dependencies here. Runtime dependencies are those
## 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('nokogiri', '~> 1.5', '>= 1.5.11')

View file

@ -8,7 +8,7 @@ Shindo.tests('Fog::Core::Connection', ['core']) do
@instance = Fog::Core::Connection.new("http://example.com")
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']
end
end