summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoregrieff <egrieff@gitlab.com>2019-06-11 15:52:18 +0100
committeregrieff <egrieff@gitlab.com>2019-06-11 15:52:18 +0100
commit5a0bb29bddceb66834e04f407c5b92a2cf718239 (patch)
tree2331b50c381eeafd3fa9e6393cdbf51484cdc690
parent4fc93a4267c77a6d418c04e34a24cac7fb4cb968 (diff)
downloadgitlab-ce-58433-email-notifications-do-not-work-properly-issue-due-date.tar.gz
-rw-r--r--spec/models/notification_recipient_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/notification_recipient_spec.rb b/spec/models/notification_recipient_spec.rb
index e28d29fb06f..20278d81f6d 100644
--- a/spec/models/notification_recipient_spec.rb
+++ b/spec/models/notification_recipient_spec.rb
@@ -204,7 +204,7 @@ describe NotificationRecipient do
context 'without custom event enabled' do
before do
- notification_setting.update!(new_note: true)
+ notification_setting.update!(new_note: false)
end
it 'returns true' do
@@ -237,7 +237,7 @@ describe NotificationRecipient do
context 'without custom event enabled' do
before do
- notification_setting.update!(new_issue: true)
+ notification_setting.update!(new_issue: false)
end
it 'returns true' do