summaryrefslogtreecommitdiff
path: root/spec/services/users/migrate_to_ghost_user_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/users/migrate_to_ghost_user_service_spec.rb')
-rw-r--r--spec/services/users/migrate_to_ghost_user_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/users/migrate_to_ghost_user_service_spec.rb b/spec/services/users/migrate_to_ghost_user_service_spec.rb
index b808fa6d91a..40206775aed 100644
--- a/spec/services/users/migrate_to_ghost_user_service_spec.rb
+++ b/spec/services/users/migrate_to_ghost_user_service_spec.rb
@@ -80,7 +80,7 @@ describe Users::MigrateToGhostUserService do
context "when record migration fails with a rollback exception" do
before do
- expect_any_instance_of(MergeRequest::ActiveRecord_Associations_CollectionProxy)
+ expect_any_instance_of(ActiveRecord::Associations::CollectionProxy)
.to receive(:update_all).and_raise(ActiveRecord::Rollback)
end