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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/issuable/bulk_update_service_spec.rb b/spec/services/issuable/bulk_update_service_spec.rb
index 3d2d4b5f216..b0bcd7a36ba 100644
--- a/spec/services/issuable/bulk_update_service_spec.rb
+++ b/spec/services/issuable/bulk_update_service_spec.rb
@@ -165,7 +165,7 @@ describe Issuable::BulkUpdateService do
context 'when the new assignee ID is not present' do
it 'does not unassign' do
expect { bulk_update(issue, assignee_ids: []) }
- .not_to change { issue.reload.assignees }
+ .not_to change(issue.assignees, :count)
end
end
end