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:
authorRobert Speicher <robert@gitlab.com>2016-06-03 14:55:01 +0300
committerRobert Speicher <robert@gitlab.com>2016-06-03 14:55:01 +0300
commit1637e178b8bae13fb92456570e23243c7ddc7cba (patch)
treee4d0f699ed7f7220fcff83cc6d90834fdf709d4e
parent6eda07b7171493d6c57c30b6ffad1a8260a3e48a (diff)
parent34007aa0dc61df80514cc0ff125eef8fcf57e35a (diff)
Merge branch '13313-fix-deprecation-warnings' into 'master'
Fix deprecation warnings in spec/services/issues/bulk_update_service_spec.rb Fixes #13313. See merge request !4441
-rw-r--r--spec/services/issues/bulk_update_service_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/issues/bulk_update_service_spec.rb b/spec/services/issues/bulk_update_service_spec.rb
index 96f050bbd9b..454d5849495 100644
--- a/spec/services/issues/bulk_update_service_spec.rb
+++ b/spec/services/issues/bulk_update_service_spec.rb
@@ -18,7 +18,7 @@ describe Issues::BulkUpdateService, services: true do
@issues = create_list(:issue, 5, project: @project)
@params = {
state_event: 'close',
- issues_ids: @issues.map(&:id)
+ issues_ids: @issues.map(&:id).join(",")
}
end
@@ -38,7 +38,7 @@ describe Issues::BulkUpdateService, services: true do
@issues = create_list(:closed_issue, 5, project: @project)
@params = {
state_event: 'reopen',
- issues_ids: @issues.map(&:id)
+ issues_ids: @issues.map(&:id).join(",")
}
end
@@ -58,7 +58,7 @@ describe Issues::BulkUpdateService, services: true do
before do
@new_assignee = create :user
@params = {
- issues_ids: [issue.id],
+ issues_ids: issue.id.to_s,
assignee_id: @new_assignee.id
}
end
@@ -97,7 +97,7 @@ describe Issues::BulkUpdateService, services: true do
before do
@milestone = create(:milestone, project: @project)
@params = {
- issues_ids: [issue.id],
+ issues_ids: issue.id.to_s,
milestone_id: @milestone.id
}
end