tests/helpers/mock_helper.rb in fog-ovirt-0.1.3 vs tests/helpers/mock_helper.rb in fog-ovirt-1.0.0

- old
+ new

@@ -1,16 +1,14 @@ # Use so you can run in mock mode from the command line # # FOG_MOCK=true fog -if ENV["FOG_MOCK"] == "true" - Fog.mock! -end +Fog.mock! if ENV["FOG_MOCK"] == "true" # if in mocked mode, fill in some fake credentials for us if Fog.mock? Fog.credentials = { - :ovirt_url => 'http://ovirt:8080/api', - :ovirt_username => 'admin@internal', - :ovirt_password => '123123' + :ovirt_url => "http://ovirt:8080/api", + :ovirt_username => "admin@internal", + :ovirt_password => "123123" }.merge(Fog.credentials) end