Sha256: 73dea56edfe42fa0218b9b2202fd3f3a5987d72b39774de48e56fc380f936de6

Contents?: true

Size: 388 Bytes

Versions: 11

Compression:

Stored size: 388 Bytes

Contents

require 'securerandom'
Shindo.tests("Fog::Compute[:google] | target instance model", ['google']) do
  random_string = SecureRandom.hex
  @zone = 'us-central1-a'
  instance = create_test_server(Fog::Compute[:google], @zone)  
  model_tests(Fog::Compute[:google].target_instances, {:name => "fog-test-target-instance-#{random_string}", :instance => instance.self_link, :zone => @zone})
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
fog-google-0.0.5 tests/models/compute/target_instance_tests.rb
fog-google-0.0.4 tests/models/compute/target_instance_tests.rb
fog-google-0.0.3 tests/models/compute/target_instance_tests.rb
fog-google-0.0.2 tests/models/compute/target_instance_tests.rb
fog-1.29.0 tests/google/models/compute/target_instance_tests.rb
fog-1.28.0 tests/google/models/compute/target_instance_tests.rb
fog-1.27.0 tests/google/models/compute/target_instance_tests.rb
fog-1.26.0 tests/google/models/compute/target_instance_tests.rb
fog-1.25.0 tests/google/models/compute/target_instance_tests.rb
nsidc-fog-1.24.1 tests/google/models/compute/target_instance_tests.rb
fog-1.24.0 tests/google/models/compute/target_instance_tests.rb