spec/opsicle/commands/chef_update_spec.rb in opsicle-0.4.2 vs spec/opsicle/commands/chef_update_spec.rb in opsicle-0.5.0
- old
+ new
@@ -115,15 +115,15 @@
subject.send :update_custom_cookbooks
end
end
context "#launch_stack_monitor" do
- let(:options) { { derp: 'herp' } }
+ let(:options) { { derp: 'herp', monitor: true } }
it "launches the opsicle stack monitor" do
expect(Monitor::App).to receive(:new).with('derp', options)
- subject.send :launch_stack_monitor, options
+ subject.send :launch_stack_monitor, nil, options
end
end
end
end