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

Remove webmock.

This commit is contained in:
Nick Osborn 2013-10-16 13:44:35 +01:00
parent 79ec3783fb
commit a00571f7cb
2 changed files with 0 additions and 5 deletions

View file

@ -65,7 +65,6 @@ Gem::Specification.new do |s|
s.add_development_dependency('fission')
s.add_development_dependency('pry')
s.add_development_dependency('google-api-client', '~>0.6.2')
s.add_development_dependency('webmock', '~>1.14')
# s.add_development_dependency('ruby-libvirt','~>0.4.0')
s.files = `git ls-files`.split("\n")

View file

@ -58,8 +58,6 @@ Shindo.tests('Fog::Storage[:openstack] | object requests', ["openstack"]) do
tests("put_object with block") do
pending if Fog.mocking?
WebMock.disable! # https://github.com/bblimke/webmock/issues/307
tests("#put_object('fogobjecttests', 'fog_object', &block)").succeeds do
begin
file = lorem_file
@ -72,8 +70,6 @@ Shindo.tests('Fog::Storage[:openstack] | object requests', ["openstack"]) do
end
end
WebMock.enable!
tests('#get_object').succeeds do
Fog::Storage[:openstack].get_object('fogobjecttests', 'fog_block_object').body == lorem_file.read
end