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