spec/punchblock/translator/asterisk_spec.rb in punchblock-1.3.0 vs spec/punchblock/translator/asterisk_spec.rb in punchblock-1.4.0

- old
+ new

@@ -390,10 +390,10 @@ before { subject.wrapped_object.stubs :handle_pb_event } it 'should be able to look up the call by channel ID' do subject.handle_ami_event ami_event call_actor = subject.call_for_channel('SIP/1234-00000000') - call_actor.wrapped_object.should be_a Asterisk::Call + call_actor.should be_a Asterisk::Call call_actor.agi_env.should be_a Hash call_actor.agi_env.should be == { :agi_request => 'async', :agi_channel => 'SIP/1234-00000000', :agi_language => 'en',