spec/server/workflow_spec.rb in cellect-server-0.1.2 vs spec/server/workflow_spec.rb in cellect-server-0.1.3
- old
+ new
@@ -53,10 +53,10 @@
it 'should remove users when their ttl expires' do
id = user.id
workflow.remove_user id
expect(workflow.users).to_not have_key id
- expect{ user.id }.to raise_error
+ expect{ user.id }.to raise_error Celluloid::DeadActorError
end
it 'should not be grouped' do
expect(workflow).to_not be_grouped
end