stub notification in event model

master
Dmitriy Zaporozhets 2013-03-26 19:27:39 +02:00
parent 3728c4904e
commit e3f1164248
1 changed files with 1 additions and 0 deletions

View File

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