Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2018-11-23 23:23:38 +0300
committerJasper Maes <jaspermaes.jm@gmail.com>2018-12-15 00:49:26 +0300
commit07eb92b6057293cc7429354fa5699d50d4e640b5 (patch)
tree23faa8585833dac29d0d601753e128a36f1dc709 /spec/support/services
parentb694788f7cb46df3d16edd5ca3251e53c20caa9c (diff)
Passing the separator argument as a positional parameter is deprecated
Diffstat (limited to 'spec/support/services')
-rw-r--r--spec/support/services/migrate_to_ghost_user_service_shared_examples.rb2
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