spec/punchblock/component/input_spec.rb in punchblock-1.6.1 vs spec/punchblock/component/input_spec.rb in punchblock-1.7.0
- old
+ new
@@ -161,10 +161,10 @@
command.request!
command.execute!
end
it "should send its command properly" do
- mock_client.expects(:execute_command).with(command.stop_action, :target_call_id => '123abc', :component_id => 'abc123')
+ mock_client.should_receive(:execute_command).with(command.stop_action, :target_call_id => '123abc', :component_id => 'abc123')
command.stop!
end
end
describe "when the command is not executing" do