Commit 07eb92b6 authored by Jasper Maes's avatar Jasper Maes

Passing the separator argument as a positional parameter is deprecated

parent b694788f
---
title: Passing the separator argument as a positional parameter is deprecated
merge_request: 23334
author: Jasper Maes
type: other
...@@ -86,7 +86,7 @@ shared_examples "migrating a deleted user's associated records to the ghost user ...@@ -86,7 +86,7 @@ shared_examples "migrating a deleted user's associated records to the ghost user
end end
it "blocks the user before #{record_class_name} migration begins" do it "blocks the user before #{record_class_name} migration begins" do
expect(service).to receive("migrate_#{record_class_name.parameterize('_').pluralize}".to_sym) do expect(service).to receive("migrate_#{record_class_name.parameterize(separator: '_').pluralize}".to_sym) do
expect(user.reload).to be_blocked expect(user.reload).to be_blocked
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment