Skip to content

Commit

Permalink
Add parameters to client mock to work without .fog
Browse files Browse the repository at this point in the history
  • Loading branch information
Temikus committed Jun 6, 2018
1 parent e07b200 commit 309385e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/compute/test_collections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 309385e

Please sign in to comment.