Sha256: ee2bc8d4dc32379528fd0cf785080324b17e42606a10159f8e55c40547da0197

Contents?: true

Size: 356 Bytes

Versions: 11

Compression:

Stored size: 356 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

puts "Mock: #{Fog.mock?}"
# if in mocked mode, fill in some fake credentials for us
if Fog.mock?
  Fog.credentials = {
  	:oracle_compute_api => 'https://api.compute.us0.oraclecloud.com'
  }.merge(Fog.credentials)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.12 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.11 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.10 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.9 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.8 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.7 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.6 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.5 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.4 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.3 tests/helpers/mock_helper.rb
fog-oraclecloud-0.1.2 tests/helpers/mock_helper.rb