diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-12 18:09:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-12 18:09:09 +0300 |
commit | 6cf30e964d54d536b0ff861916745f0a4bb31ebb (patch) | |
tree | c29ef6911c9c8347cbcd5195583462e91121506a /spec/services/notification_service_spec.rb | |
parent | 4a31b8786892820e8029844c34fd5296c52c37c0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/notification_service_spec.rb')
-rw-r--r-- | spec/services/notification_service_spec.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb index e4ec3e56c20..6f7225fadbf 100644 --- a/spec/services/notification_service_spec.rb +++ b/spec/services/notification_service_spec.rb @@ -867,23 +867,6 @@ RSpec.describe NotificationService, :mailer do should_not_email(non_member_and_mentioned) should_not_email(note.author) end - - context 'when the feature flag is disabled' do - before do - stub_feature_flags(design_management_design_notification_participants: false) - end - - it 'sends a new note notification only to the mentioned member', :aggregate_failures do - notification.new_note(note) - - should_email(member_and_mentioned) - should_not_email(design.authors.first) - should_not_email(member_and_author_of_second_note) - should_not_email(member_and_not_mentioned) - should_not_email(non_member_and_mentioned) - should_not_email(note.author) - end - end end context 'design management is disabled' do |