Sha256: e14d959c72bd6524d487959121f7ec38eecc392324ba94bf5cff5f1407213e1f

Contents?: true

Size: 303 Bytes

Versions: 12

Compression:

Stored size: 303 Bytes

Contents

# create a disk to be used in tests
def create_test_disk(connection, zone)
  zone = 'us-central1-a'
  disk = connection.disks.create({
    :name => "fogservername",
    :size_gb => "2",
    :zone_name => zone,
    :source_image => "debian-7-wheezy-v20131120",
  })
  disk.wait_for { ready? }
  disk
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
fog-1.21.0 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.20.0.20140305101839 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.20.0.20140305101305 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.19.0.20140212012611 tests/google/helpers/disk_helper.rb
fog-1.20.0 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.19.0.20140110004459 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.19.0.20140110003812 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.19.0.20140109202555 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.19.0.20140107192102 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.19.0.20140107142106 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.19.0.20131219203941 tests/google/helpers/disk_helper.rb
fog-maestrodev-1.18.0.20131219193542 tests/google/helpers/disk_helper.rb