Sha256: f6e5659de2c3fcd57f9daf2ad2597fcb8704fbb0409cd9b7edb189c3c97c5565
Contents?: true
Size: 647 Bytes
Versions: 18
Compression:
Stored size: 647 Bytes
Contents
require 'spec_helper' describe Stackster do it "should destroy the stack" do config_mock = mock 'config mock' cloud_formation_mock = mock 'cloud formation mock' Stackster::AWS::CloudFormation.should_receive(:new). with(:config => config_mock). and_return cloud_formation_mock cloud_formation_mock.should_receive(:destroy).with 'test-stack' stack_destroyer = Stackster::StackDestroyer.new :name => 'test-stack', :config => config_mock stack_destroyer.destroy end end
Version data entries
18 entries across 18 versions & 1 rubygems