Permalink
Browse files

stub notification in event model

  • Loading branch information...
dzaporozhets committed Mar 26, 2013
1 parent 3728c49 commit e3f116424877864424250971f824b5a2552aec9a
Showing with 1 addition and 0 deletions.
  1. +1 −0 spec/models/event_spec.rb
@@ -72,6 +72,7 @@
before {
Event.should_receive :create
+ observer.stub(notification: stub.as_null_object)
}
describe "Joined project team" do

0 comments on commit e3f1164

Please sign in to comment.