stub notification in event model
This commit is contained in:
parent
3728c4904e
commit
e3f1164248
|
@ -72,6 +72,7 @@ describe Event do
|
|||
|
||||
before {
|
||||
Event.should_receive :create
|
||||
observer.stub(notification: stub.as_null_object)
|
||||
}
|
||||
|
||||
describe "Joined project team" do
|
||||
|
|
Loading…
Reference in a new issue