Sha256: 9162f287e93ee68e99066b8126ce82107d9c7cea58b4de64f8036db2843200da

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

# Use so you can run in mock mode from the command line
#
# FOG_MOCK=true fog

if ENV["FOG_MOCK"] == "true"
  Fog.mock!
end

# if in mocked mode, fill in some fake credentials for us
if Fog.mock?
  Fog.credentials = {
    :libvirt_uri => 'test:///default',
  }.merge(Fog.credentials)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-libvirt-0.13.2 tests/helpers/mock_helper.rb
fog-libvirt-0.13.1 tests/helpers/mock_helper.rb
fog-libvirt-0.13.0 tests/helpers/mock_helper.rb