summaryrefslogtreecommitdiff
path: root/spec/models/event_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-26 19:27:39 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-26 19:27:39 +0200
commite3f116424877864424250971f824b5a2552aec9a (patch)
tree5de11fb7fae52006c7f2eb369daf4e654b81e321 /spec/models/event_spec.rb
parent3728c4904e61e47d23b6454754451bd716f4f422 (diff)
downloadgitlab-ce-e3f116424877864424250971f824b5a2552aec9a.tar.gz
stub notification in event model
Diffstat (limited to 'spec/models/event_spec.rb')
-rw-r--r--spec/models/event_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb
index cc78993905f..85bdf08ae64 100644
--- a/spec/models/event_spec.rb
+++ b/spec/models/event_spec.rb
@@ -72,6 +72,7 @@ describe Event do
before {
Event.should_receive :create
+ observer.stub(notification: stub.as_null_object)
}
describe "Joined project team" do