Sha256: f8413c485074fa7a5091e68660cd968de6e76f54e1d255812b3b80c02b829399

Contents?: true

Size: 836 Bytes

Versions: 35

Compression:

Stored size: 836 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_26_EC2 < Test::Unit::TestCase
    include Rudy::Huxtable
    
    @@logger = STDERR #StringIO.new
    @@zone = @@global.zone.to_s
    
    context "#{name}_10 Setup" do
      should "(10) have class variables setup" do
        stop_test !@@global.is_a?(Rudy::Global), "We don't have Rudy::Global (#{@@global})"
        stop_test !@@config.is_a?(Rudy::Config), "We don't have an instance of Rudy::Config (#{@@config})"
      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/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.0 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.1 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.2 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.3 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.4 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.5 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.6 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.7 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.6.8 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.7.0 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.7.1 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.7.2 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.7.3 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.7.4 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.7.5 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.7.6 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.8.0 test/26_ec2_instances/00_setup_test.rb
solutious-rudy-0.8.1 test/26_ec2_instances/00_setup_test.rb
rudy-0.6.0 test/26_ec2_instances/00_setup_test.rb