Sha256: 5f7baa61e67634dc18fd0030090886a5d3b2fb551f0442f3739fc4079958bc02

Contents?: true

Size: 738 Bytes

Versions: 4

Compression:

Stored size: 738 Bytes

Contents

group "Metadata"
library :rudy, 'lib'

Gibbler.enable_debug if Tryouts.verbose > 3
  
tryout "List Disks" do
  
  setup do
    Rudy.enable_debug
    Rudy::Huxtable.update_config          # Read config files
    global = Rudy::Huxtable.global
    akey, skey, region = global.accesskey, global.secretkey, global.region
    Rudy::Metadata.connect akey, skey, region
    Rudy::AWS::EC2.connect akey, skey, region
    Rudy::Disk.new('/any/path1').save :replace
    Rudy::Disk.new('/any/path2').save :replace
  end
  
  clean do
    Rudy::Disk.new('/any/path1').destroy
    Rudy::Disk.new('/any/path2').destroy
  end
  
  dream :class, Array
  dream :empty?, false
  drill "can list available disks" do
    Rudy::Disks.list
  end
  
  
end



Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
solutious-rudy-0.9.0 tryouts/30_metadata/53_disk_list_tryouts.rb
solutious-rudy-0.9.1 tryouts/30_metadata/53_disk_list_tryouts.rb
rudy-0.9.0 tryouts/30_metadata/53_disk_list_tryouts.rb
rudy-0.9.1 tryouts/30_metadata/53_disk_list_tryouts.rb