Commit 5834dadb7e1b3674b9e3dedc03e72ae5de75e352

Authored by Christopher Creighton
1 parent fa6dd7ff
Exists in master and in 1 other branch production

Remove commented line

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/models/notice_observer_spec.rb
... ... @@ -65,6 +65,7 @@ describe NoticeObserver do
65 65 :backtrace => [{ :error => 'Le Broken' }], :notifier => { 'name' => 'Notifier', 'version' => '1', 'url' => 'http://toad.com' })
66 66 end
67 67 end
  68 +
68 69 describe "should not send a notification if a notification service is not configured" do
69 70 let(:app) { app = Fabricate(:app, :email_at_notices => [1], :notification_service => Fabricate(:notification_service))}
70 71 let(:err) { Fabricate(:err, :problem => Fabricate(:problem, :app => app, :notices_count => 100)) }
... ... @@ -79,7 +80,6 @@ describe NoticeObserver do
79 80  
80 81 it "should not create a campfire notification" do
81 82 err.problem.stub(:notices_count) { 1 }
82   - #app.notification_service.stub!(:create_notification).and_return(true)
83 83 app.stub!(:notification_recipients => %w('ryan@system88.com'))
84 84 app.notification_service.should_not_receive(:create_notification)
85 85  
... ...