test/deploy_test.rb in eb_deployer-0.3.6 vs test/deploy_test.rb in eb_deployer-0.3.7

- old
+ new

@@ -430,9 +430,20 @@ assert @eb_driver.application_exists?('simple') last_version = @eb_driver.application_versions('simple').last assert_equal({'s3_bucket' => 'test-bucket', 's3_key' => 'test-mingle.war'}, last_version[:source_bundle]) end +=begin + def test_deploy_with_components + deploy(:application => 'simple', + :environment => 'production', + :components => [{ :name => 'web' }]) + + assert !@eb_driver.environment_exists?('simple', eb_envname('simple', 'production')) + + end +=end + private def temp_file(content) f = Tempfile.new("foo") f.write(content)