Commit e3f116424877864424250971f824b5a2552aec9a

Authored by Dmitriy Zaporozhets
1 parent 3728c490

stub notification in event model

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
spec/models/event_spec.rb
... ... @@ -72,6 +72,7 @@ describe Event do
72 72  
73 73 before {
74 74 Event.should_receive :create
  75 + observer.stub(notification: stub.as_null_object)
75 76 }
76 77  
77 78 describe "Joined project team" do
... ...