stub notification in event model

This commit is contained in:
Dmitriy Zaporozhets 2013-03-26 19:27:39 +02:00
parent 3728c4904e
commit e3f1164248

View file

@ -72,6 +72,7 @@ describe Event do
before { before {
Event.should_receive :create Event.should_receive :create
observer.stub(notification: stub.as_null_object)
} }
describe "Joined project team" do describe "Joined project team" do