Sha256: d7cb4fcd2452391e98c8c8199a53b68069595f6dbb5f3c13b54c2ae9a742bdad

Contents?: true

Size: 698 Bytes

Versions: 36

Compression:

Stored size: 698 Bytes

Contents

library :rudy, 'lib'

group "SimpleDB"

tryouts "Domains" do
  set :test_domain, 'test_' << Rudy::Utils.strand

  setup do
    Rudy::Huxtable.update_config
    global = Rudy::Huxtable.global
    akey, skey, region = global.accesskey, global.secretkey, global.region
    @sdb = Rudy::AWS::SDB.new(akey, skey, region)
  end
  
  drill "create simpledb connection", :class, Rudy::AWS::SDB do
    @sdb
  end
  
  drill "create a domain (#{test_domain})", true do
    @sdb.create_domain test_domain
  end
  
  drill "list domains", :class, Array do
    stash :domains, @sdb.list_domains
  end
  
  drill "destroy a domain (#{test_domain})", true do
    @sdb.destroy_domain test_domain
  end
  
end




Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
solutious-rudy-0.9.0 tryouts/20_simpledb/10_domains_tryouts.rb
solutious-rudy-0.9.1 tryouts/20_simpledb/10_domains_tryouts.rb
solutious-rudy-0.9.2 tryouts/20_simpledb/10_domains_tryouts.rb
solutious-rudy-0.9.3 tryouts/20_simpledb/10_domains_tryouts.rb
solutious-rudy-0.9.4 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.020 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.019 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.018 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.017 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.016 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.015 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.014 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.013 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.012 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.011 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.010 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.009 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.008 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.007 tryouts/20_simpledb/10_domains_tryouts.rb
rudy-0.9.8.006 tryouts/20_simpledb/10_domains_tryouts.rb