diff options
author | Rémy Coutable <remy@rymai.me> | 2018-12-17 10:20:54 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-12-17 10:20:54 +0000 |
commit | 5afbeaad3bdd7e66faf12c78ca87d09f79025bb1 (patch) | |
tree | 99ffbd444a32b07fa87f14e2117f5e094ce5be0c /spec | |
parent | bf137f43b56d54335c3e09b43b29c3729e7ffab9 (diff) | |
parent | 07eb92b6057293cc7429354fa5699d50d4e640b5 (diff) | |
download | gitlab-ce-5afbeaad3bdd7e66faf12c78ca87d09f79025bb1.tar.gz |
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
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/services/migrate_to_ghost_user_service_shared_examples.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/services/migrate_to_ghost_user_service_shared_examples.rb b/spec/support/services/migrate_to_ghost_user_service_shared_examples.rb index 1478c6b5a47..62ae95df8c0 100644 --- a/spec/support/services/migrate_to_ghost_user_service_shared_examples.rb +++ b/spec/support/services/migrate_to_ghost_user_service_shared_examples.rb @@ -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 |