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:
Diffstat (limited to 'spec/features/calendar_spec.rb')
-rw-r--r--spec/features/calendar_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/calendar_spec.rb b/spec/features/calendar_spec.rb
index 0b73226268d..1281d890ef7 100644
--- a/spec/features/calendar_spec.rb
+++ b/spec/features/calendar_spec.rb
@@ -146,7 +146,7 @@ RSpec.describe 'Contributions Calendar', :js do
describe '1 issue creation calendar activity' do
before do
- Issues::CreateService.new(contributed_project, user, issue_params).execute
+ Issues::CreateService.new(project: contributed_project, current_user: user, params: issue_params).execute
end
it_behaves_like 'a day with activity', contribution_count: 1
@@ -181,7 +181,7 @@ RSpec.describe 'Contributions Calendar', :js do
push_code_contribution
travel_to(Date.yesterday) do
- Issues::CreateService.new(contributed_project, user, issue_params).execute
+ Issues::CreateService.new(project: contributed_project, current_user: user, params: issue_params).execute
end
end
include_context 'visit user page'