tests: fix rails 2.7 keyword parameter deprecation warnings.

This commit is contained in:
evazion
2020-05-25 01:48:46 -05:00
parent 66a66cc952
commit 20f8a26709
29 changed files with 44 additions and 44 deletions

View File

@@ -25,7 +25,7 @@ class PostPresenter
locals[:article_attrs] = {
"id" => "post_#{post.id}",
"class" => preview_class(post, options).join(" ")
"class" => preview_class(post, **options).join(" ")
}.merge(data_attributes(post))
locals[:link_target] = options[:link_target] || post