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.rb18
1 files changed, 6 insertions, 12 deletions
diff --git a/spec/features/calendar_spec.rb b/spec/features/calendar_spec.rb
index 67baed5dc91..8ad27b65f11 100644
--- a/spec/features/calendar_spec.rb
+++ b/spec/features/calendar_spec.rb
@@ -155,14 +155,12 @@ RSpec.describe 'Contributions Calendar', :js, feature_category: :user_profile do
Issues::CreateService.new(
container: contributed_project,
current_user: user,
- params: issue_params,
- spam_params: nil
+ params: issue_params
).execute
WorkItems::CreateService.new(
container: contributed_project,
current_user: user,
- params: { title: 'new task' },
- spam_params: nil
+ params: { title: 'new task' }
).execute
end
@@ -204,8 +202,7 @@ RSpec.describe 'Contributions Calendar', :js, feature_category: :user_profile do
Issues::CreateService.new(
container: contributed_project,
current_user: user,
- params: issue_params,
- spam_params: nil
+ params: issue_params
).execute
end
end
@@ -301,14 +298,12 @@ RSpec.describe 'Contributions Calendar', :js, feature_category: :user_profile do
Issues::CreateService.new(
container: contributed_project,
current_user: user,
- params: issue_params,
- spam_params: nil
+ params: issue_params
).execute
WorkItems::CreateService.new(
container: contributed_project,
current_user: user,
- params: { title: 'new task' },
- spam_params: nil
+ params: { title: 'new task' }
).execute
end
@@ -339,8 +334,7 @@ RSpec.describe 'Contributions Calendar', :js, feature_category: :user_profile do
Issues::CreateService.new(
container: contributed_project,
current_user: user,
- params: issue_params,
- spam_params: nil
+ params: issue_params
).execute
end
end