spec/adhearsion/calls_spec.rb in adhearsion-2.0.1 vs spec/adhearsion/calls_spec.rb in adhearsion-2.1.0
- old
+ new
@@ -44,10 +44,10 @@
end
context "by dead call object" do
before do
@call_id = deleted_call.id
- deleted_call.terminate
+ deleted_call.kill
deleted_call.should_not be_alive
subject.remove_inactive_call deleted_call
end
it "should remove the call from the collection" do