summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-30 21:08:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-30 21:08:01 +0000
commit95ad46159e4cd93f2b31838199180d824e041994 (patch)
treed41880d3b6a0093463694978590e590efb08caef /spec/services
parent2c72daf2f1744f2b8c8c6674c266907e9ef55558 (diff)
downloadgitlab-ce-95ad46159e4cd93f2b31838199180d824e041994.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/issuable/bulk_update_service_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/issuable/bulk_update_service_spec.rb b/spec/services/issuable/bulk_update_service_spec.rb
index 2b0b486308a..f82a3cee1d9 100644
--- a/spec/services/issuable/bulk_update_service_spec.rb
+++ b/spec/services/issuable/bulk_update_service_spec.rb
@@ -245,9 +245,9 @@ describe Issuable::BulkUpdateService do
end
end
- context "when the new assignee ID is #{IssuableFinder::NONE}" do
+ context "when the new assignee ID is #{IssuableFinder::Params::NONE}" do
it 'unassigns the issues' do
- expect { bulk_update(merge_request, assignee_ids: [IssuableFinder::NONE]) }
+ expect { bulk_update(merge_request, assignee_ids: [IssuableFinder::Params::NONE]) }
.to change { merge_request.reload.assignee_ids }.to([])
end
end
@@ -282,9 +282,9 @@ describe Issuable::BulkUpdateService do
end
end
- context "when the new assignee ID is #{IssuableFinder::NONE}" do
+ context "when the new assignee ID is #{IssuableFinder::Params::NONE}" do
it "unassigns the issues" do
- expect { bulk_update(issue, assignee_ids: [IssuableFinder::NONE.to_s]) }
+ expect { bulk_update(issue, assignee_ids: [IssuableFinder::Params::NONE.to_s]) }
.to change { issue.reload.assignees.count }.from(1).to(0)
end
end