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

The condition here should be the same as for destroying, so that we test iff the instance gets destroyed

This commit is contained in:
Bohuslav Kabrda 2012-06-29 14:02:13 +02:00
parent bfbc6830f4
commit b3ed4f28f4

View file

@ -50,7 +50,7 @@ def collection_tests(collection, params = {}, mocks_implemented = true)
end
tests("#get('#{@identity}')").returns(nil) do
pending if Fog.mocking? && !mocks_implemented
pending if !Fog.mocking? || mocks_implemented
collection.get(@identity)
end