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>2021-05-12 06:10:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-12 06:10:21 +0300
commit3e7f2f00ca92b26d631009c5f45986500a27024b (patch)
treef91f6c4dc97a762a58190b4bb9ea355e2fc2cd7c /spec/features/unsubscribe_links_spec.rb
parenta160c4b1a72105a751cdc2f9f973dbe39a1c0dfd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/unsubscribe_links_spec.rb')
-rw-r--r--spec/features/unsubscribe_links_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/unsubscribe_links_spec.rb b/spec/features/unsubscribe_links_spec.rb
index 966d90ab16b..b2d0f29808c 100644
--- a/spec/features/unsubscribe_links_spec.rb
+++ b/spec/features/unsubscribe_links_spec.rb
@@ -9,7 +9,7 @@ RSpec.describe 'Unsubscribe links', :sidekiq_might_not_need_inline do
let(:author) { create(:user) }
let(:project) { create(:project, :public) }
let(:params) { { title: 'A bug!', description: 'Fix it!', assignees: [recipient] } }
- let(:issue) { Issues::CreateService.new(project, author, params).execute }
+ let(:issue) { Issues::CreateService.new(project: project, current_user: author, params: params).execute }
let(:mail) { ActionMailer::Base.deliveries.last }
let(:body) { Capybara::Node::Simple.new(mail.default_part_body.to_s) }