From 309385e25a851b89bb01808324a389fb5b6b5ce1 Mon Sep 17 00:00:00 2001 From: Artem Date: Wed, 6 Jun 2018 11:46:25 +1000 Subject: [PATCH] Add parameters to client mock to work without .fog --- test/unit/compute/test_collections.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/compute/test_collections.rb b/test/unit/compute/test_collections.rb index c54857090f..ed36221a63 100644 --- a/test/unit/compute/test_collections.rb +++ b/test/unit/compute/test_collections.rb @@ -3,7 +3,7 @@ class UnitTestCollections < MiniTest::Test def setup Fog.mock! - @client = Fog::Compute.new(:provider => "Google") + @client = Fog::Compute.new(:provider => "Google", :google_project => "foo") common_ancestors = [Fog::Collection, Fog::Association, Fog::PagedCollection] descendants = ObjectSpace.each_object(Fog::Collection.singleton_class).to_a