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