summaryrefslogtreecommitdiff
path: root/spec/services/issuable/bulk_update_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/issuable/bulk_update_service_spec.rb')
-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