From 64d370d5434be31ca4f491b4f23318e1e766dc60 Mon Sep 17 00:00:00 2001 From: Peter Solnica Date: Fri, 7 Apr 2023 08:26:49 +0200 Subject: [PATCH] Revert "Fix i18n spec" This reverts commit 7787641a8699952ca0df6be075c4c7d51c14b870. --- spec/integration/messages/i18n_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/integration/messages/i18n_spec.rb b/spec/integration/messages/i18n_spec.rb index ec2a2fca6..441946022 100644 --- a/spec/integration/messages/i18n_spec.rb +++ b/spec/integration/messages/i18n_spec.rb @@ -179,7 +179,7 @@ def store_errors(**errors) it "can use a proc for a message" do store_errors( - predicate_proc: ->(_path, **opts) { opts[:text] } + predicate_proc: ->(_path, opts) { opts[:text] } ) template, meta = messages[:predicate_proc, path: :path, text: "text"]