Passing the separator argument as a positional parameter is deprecated
This commit is contained in:
parent
b694788f7c
commit
07eb92b605
2 changed files with 6 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
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
|
|||
end
|
||||
|
||||
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
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue