diff --git a/tests/helpers/collection_helper.rb b/tests/helpers/collection_helper.rb index 08c616344..c37493fec 100644 --- a/tests/helpers/collection_helper.rb +++ b/tests/helpers/collection_helper.rb @@ -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