diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-07-10 17:29:27 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-07-12 18:03:29 +0300 |
commit | ef129737235832908e81f58da9133bbd8e9e7963 (patch) | |
tree | c609dda7572bad0c94eb8808f8324d036319b695 /spec/models | |
parent | d01e5a04ccee4659fdab8f381a12201daa1c8cb5 (diff) |
Allow to toggle notifications for issues due soon
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/notification_setting_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/notification_setting_spec.rb b/spec/models/notification_setting_spec.rb index d7c5f26ab67..77c475b9f52 100644 --- a/spec/models/notification_setting_spec.rb +++ b/spec/models/notification_setting_spec.rb @@ -93,4 +93,10 @@ RSpec.describe NotificationSetting do end end end + + context 'email events' do + it 'includes EXCLUDED_WATCHER_EVENTS in EMAIL_EVENTS' do + expect(described_class::EMAIL_EVENTS).to include(*described_class::EXCLUDED_WATCHER_EVENTS) + end + end end |