Sha256: 0c9c9042f8acee89e336bf86644c38c4ff7fd5b877ec799feac7eff56a3c7f3f

Contents?: true

Size: 855 Bytes

Versions: 35

Compression:

Stored size: 855 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'helper')

module Rudy::Test
  # Expects:
  # * There to be no pre-existing keypairs, addresses, etc... (except 
  #   the default group)
  # * It can destroy instances, images, etc... 
  #
  # DO NOT RUN THIS TEST ON A PRODUCTION AWS ACCOUNT!!
  #
  class Case_25_EC2 < Test::Unit::TestCase
    include Rudy::Huxtable
    
    @@zone = @@global.zone.to_s

    
    context "#{name}_00 Setup" do
      should "(10) have class variables setup" do
        stop_test !@@global.is_a?(Rudy::Global), "We don't have global (#{@@global})"
        stop_test !@@config.is_a?(Rudy::Config), "We don't have an instance of Rudy::Config (#{@@config})"
        stop_test !@@global.accountnum, "No account number"
      end
      should "(11) be zone" do
        stop_test !@@zone, "No zone"
      end
    end
  end
  
end

Version data entries

35 entries across 35 versions & 3 rubygems

Version Path
sabat-rudy-0.8.0 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.0 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.1 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.2 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.3 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.4 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.5 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.6 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.7 test/25_ec2/00_setup_test.rb
solutious-rudy-0.6.8 test/25_ec2/00_setup_test.rb
solutious-rudy-0.7.0 test/25_ec2/00_setup_test.rb
solutious-rudy-0.7.1 test/25_ec2/00_setup_test.rb
solutious-rudy-0.7.2 test/25_ec2/00_setup_test.rb
solutious-rudy-0.7.3 test/25_ec2/00_setup_test.rb
solutious-rudy-0.7.4 test/25_ec2/00_setup_test.rb
solutious-rudy-0.7.5 test/25_ec2/00_setup_test.rb
solutious-rudy-0.7.6 test/25_ec2/00_setup_test.rb
solutious-rudy-0.8.0 test/25_ec2/00_setup_test.rb
solutious-rudy-0.8.1 test/25_ec2/00_setup_test.rb
rudy-0.6.0 test/25_ec2/00_setup_test.rb