From 5e84da65af95c6450c64124ac4a53dd9848b0cfd Mon Sep 17 00:00:00 2001 From: Raja Bhadury Date: Thu, 31 Mar 2011 09:37:11 +0100 Subject: [PATCH] Ooops, should be err_notificaiton not deploy _notification --- spec/models/err_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/err_spec.rb b/spec/models/err_spec.rb index 7647b42..95f68e9 100644 --- a/spec/models/err_spec.rb +++ b/spec/models/err_spec.rb @@ -124,7 +124,7 @@ describe Err do context 'being created' do context 'when the app has err notifications set to false' do it 'should not send an email notification' do - app = Factory(:app_with_watcher, :notify_on_deploys => false) + app = Factory(:app_with_watcher, :notify_on_errs => false) Mailer.should_not_receive(:err_notification) Factory(:err, :app => app) end -- libgit2 0.21.2