Sha256: 5709ae170428f984f0deee0df7a4384147fd16021e6c1787774602519a9f60c9

Contents?: true

Size: 536 Bytes

Versions: 24

Compression:

Stored size: 536 Bytes

Contents

## Initialize credentials
ENV['FOG_RC'] = ENV['FOG_RC'] || File.expand_path('../.fog', __FILE__)

## From fog-core
require 'fog/test_helpers'
require 'fog/sakuracloud'

if ENV['CI']
  Fog.credentials[:sakuracloud_api_token]        = 'dummy_token'
  Fog.credentials[:sakuracloud_api_token_secret] = 'dummy_secret'
end

## SakuraCloud Helpers
def sakuracloud_volume_service
  Fog::Volume[:sakuracloud]
end

def sakuracloud_compute_service
  Fog::Compute[:sakuracloud]
end

def sakuracloud_network_service
  Fog::Network[:sakuracloud]
end

Version data entries

24 entries across 22 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-sakuracloud-1.7.5/tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-sakuracloud-1.7.5/tests/helper.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-sakuracloud-1.7.5/tests/helper.rb
fog-sakuracloud-1.7.5 tests/helper.rb
fog-sakuracloud-1.7.4 tests/helper.rb
fog-sakuracloud-1.7.3 tests/helper.rb
fog-sakuracloud-1.7.2 tests/helper.rb
fog-sakuracloud-1.7.1 tests/helper.rb
fog-sakuracloud-1.7.0 tests/helper.rb
fog-sakuracloud-1.6.0 tests/helper.rb
fog-sakuracloud-1.5.2 tests/helper.rb
fog-sakuracloud-1.5.1 tests/helper.rb
fog-sakuracloud-1.5.0 tests/helper.rb
fog-sakuracloud-1.4.0 tests/helper.rb
fog-sakuracloud-1.3.3 tests/helper.rb
fog-sakuracloud-1.3.2 tests/helper.rb
fog-sakuracloud-1.3.1 tests/helper.rb
fog-sakuracloud-1.3.0 tests/helper.rb
fog-sakuracloud-1.2.0 tests/helper.rb
fog-sakuracloud-1.1.1 tests/helper.rb