From 7ddbf5ff35f2c0e4f3a134470f9ffa4120841445 Mon Sep 17 00:00:00 2001 From: Angel Perez Date: Tue, 7 Aug 2018 17:24:03 -0400 Subject: [PATCH] Use `separator` key when parameterizing arguments --- spec/support/common_actions/notifications.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/common_actions/notifications.rb b/spec/support/common_actions/notifications.rb index 0aa0d9a82..3cae9c4ea 100644 --- a/spec/support/common_actions/notifications.rb +++ b/spec/support/common_actions/notifications.rb @@ -10,7 +10,7 @@ module Notifications end def comment_body(resource) - "comment-body-#{resource.class.name.parameterize("_").to_sym}_#{resource.id}" + "comment-body-#{resource.class.name.parameterize(separator: "_").to_sym}_#{resource.id}" end def create_proposal_notification(proposal)