diff options
author | egrieff <egrieff@gitlab.com> | 2019-06-11 15:52:18 +0100 |
---|---|---|
committer | egrieff <egrieff@gitlab.com> | 2019-06-11 15:52:18 +0100 |
commit | 5a0bb29bddceb66834e04f407c5b92a2cf718239 (patch) | |
tree | 2331b50c381eeafd3fa9e6393cdbf51484cdc690 | |
parent | 4fc93a4267c77a6d418c04e34a24cac7fb4cb968 (diff) | |
download | gitlab-ce-58433-email-notifications-do-not-work-properly-issue-due-date.tar.gz |
Disable custom events when expected58433-email-notifications-do-not-work-properly-issue-due-date
-rw-r--r-- | spec/models/notification_recipient_spec.rb | 4 |
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 |