Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-13 12:09:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-13 12:09:30 +0300
commitc21064ccfd3c8d40e82ee92cc709bf0c8bf5bac7 (patch)
treee4649235827651244b9242f6ffdab1b1ce32de0e /spec/support/services
parent254f79fb35e50b9fe130982c75643f18e1daec69 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/services')
-rw-r--r--spec/support/services/issuable_import_csv_service_shared_examples.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/support/services/issuable_import_csv_service_shared_examples.rb b/spec/support/services/issuable_import_csv_service_shared_examples.rb
index f2d84628106..20ac2ff5c7c 100644
--- a/spec/support/services/issuable_import_csv_service_shared_examples.rb
+++ b/spec/support/services/issuable_import_csv_service_shared_examples.rb
@@ -19,12 +19,10 @@ RSpec.shared_examples 'issuable import csv service' do |issuable_type|
end
shared_examples_for 'importer with email notification' do
- if issuable_type == 'issue'
- it 'notifies user of import result' do
- expect(Notify).to receive_message_chain(email_method, :deliver_later)
+ it 'notifies user of import result' do
+ expect(Notify).to receive_message_chain(email_method, :deliver_later)
- subject
- end
+ subject
end
end