Skip to content

Commit

Permalink
Revert "Fix i18n spec"
Browse files Browse the repository at this point in the history
This reverts commit 7787641.
  • Loading branch information
solnic committed Apr 7, 2023
1 parent 054ff7b commit 64d370d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/messages/i18n_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 64d370d

Please sign in to comment.