spec/punchblock/translator/asterisk/component/asterisk/agi_command_spec.rb in punchblock-1.1.0 vs spec/punchblock/translator/asterisk/component/asterisk/agi_command_spec.rb in punchblock-1.2.0

- old
+ new

@@ -114,12 +114,12 @@ end it 'should send a complete event' do subject.handle_ami_event ami_event - command.should be_complete - complete_event = command.complete_event 0.5 + + command.should be_complete complete_event.component_id.should be == component_id.to_s complete_event.reason.should be == expected_complete_reason end end