Commit 5e84da65af95c6450c64124ac4a53dd9848b0cfd

Authored by Raja Bhadury
1 parent f618448d
Exists in master and in 1 other branch production

Ooops, should be err_notificaiton not deploy _notification

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/models/err_spec.rb
@@ -124,7 +124,7 @@ describe Err do @@ -124,7 +124,7 @@ describe Err do
124 context 'being created' do 124 context 'being created' do
125 context 'when the app has err notifications set to false' do 125 context 'when the app has err notifications set to false' do
126 it 'should not send an email notification' do 126 it 'should not send an email notification' do
127 - app = Factory(:app_with_watcher, :notify_on_deploys => false) 127 + app = Factory(:app_with_watcher, :notify_on_errs => false)
128 Mailer.should_not_receive(:err_notification) 128 Mailer.should_not_receive(:err_notification)
129 Factory(:err, :app => app) 129 Factory(:err, :app => app)
130 end 130 end