Sha256: 1eb6a1c93943b972283e561537b76fd382f18c1149414adf43c5258e2ba6a51b
Contents?: true
Size: 592 Bytes
Versions: 31
Compression:
Stored size: 592 Bytes
Contents
describe 'Kumogata::Client#delete' do it 'update a stack from Ruby template' do run_client(:delete, :arguments => ['MyStack'], :options => {:force => true}) do |client, cf| stack = make_double('stack') do |obj| obj.should_receive(:delete).with(no_args()) obj.should_receive(:status).and_return( 'DELETE_COMPLETE', 'DELETE_COMPLETE', 'DELETE_COMPLETE') end stacks = make_double('stacks') do |obj| obj.should_receive(:[]) .with('MyStack') { stack } end cf.should_receive(:stacks) { stacks } end end end
Version data entries
31 entries across 31 versions & 1 rubygems