Sha256: ae1bbe41fbb60f6016de47a445bf8af9f80c8ce2a522a6e326958926a8b41145

Contents?: true

Size: 590 Bytes

Versions: 14

Compression:

Stored size: 590 Bytes

Contents

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

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

# if in mocked mode, fill in some fake credentials for us
if Fog.mock?
  Fog.credentials = {
    :google_storage_access_key_id     => "google_storage_access_key_id",
    :google_storage_secret_access_key => "google_storage_secret_access_key",
    :google_project                   => "google_project_name",
    :google_client_email              => "fake@developer.gserviceaccount.com",
    :google_key_location              => "~/fake.p12"
  }.merge(Fog.credentials)
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 tests/helpers/mock_helper.rb
fog-google-0.5.5 tests/helpers/mock_helper.rb
fog-google-0.5.4 tests/helpers/mock_helper.rb
fog-google-0.5.3 tests/helpers/mock_helper.rb
fog-google-0.5.2 tests/helpers/mock_helper.rb
fog-google-0.5.1 tests/helpers/mock_helper.rb
fog-google-0.5.0 tests/helpers/mock_helper.rb
fog-google-0.4.2 tests/helpers/mock_helper.rb
fog-google-0.4.1 tests/helpers/mock_helper.rb
fog-google-0.4.0 tests/helpers/mock_helper.rb
fog-google-0.3.2 tests/helpers/mock_helper.rb
fog-google-0.3.1 tests/helpers/mock_helper.rb
fog-google-0.3.0 tests/helpers/mock_helper.rb
fog-google-0.2.0 tests/helpers/mock_helper.rb