Commit 5afbeaad authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'deprecated-positional-seperator-parameter' into 'master'

Passing the separator argument as a positional parameter is deprecated

See merge request gitlab-org/gitlab-ce!23334
parents bf137f43 07eb92b6
---
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
......
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