Sha256: 91b1d187ee73822956af2b8511c361bbee16705967465564e2a5c1e33d767df8
Contents?: true
Size: 575 Bytes
Versions: 24
Compression:
Stored size: 575 Bytes
Contents
require 'spec_helper' describe SimpleDeploy::StackDestroyer do include_context 'stubbed config' include_context 'double stubbed logger' it "should destroy the stack" do cloud_formation_mock = mock 'cloud formation mock' SimpleDeploy::AWS::CloudFormation.should_receive(:new). and_return cloud_formation_mock cloud_formation_mock.should_receive(:destroy).with 'test-stack' stack_destroyer = SimpleDeploy::StackDestroyer.new :name => 'test-stack' stack_destroyer.destroy end end
Version data entries
24 entries across 24 versions & 1 rubygems