diff options
author | Xavier Noria <fxn@hashref.com> | 2016-08-09 23:53:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-09 23:53:54 +0200 |
commit | 7b31b06d4afd73734ac54cbbac105f0eab8d0d43 (patch) | |
tree | 94789c1c7f3c8e1c611a30548cd90ecbb34f98ea /actionview/test/template/form_helper_test.rb | |
parent | 67d0c9ee93100dbdcafd20b0632e5bef6735888e (diff) | |
parent | f006de5dc5a709f5dc8604ebd43f7741da30cd9f (diff) | |
download | rails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.tar.gz rails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.tar.bz2 rails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.zip |
Merge pull request #26095 from kamipo/fix_broken_alignment_by_auto_correct
Fix broken alignments caused by auto-correct commit 411ccbd
Diffstat (limited to 'actionview/test/template/form_helper_test.rb')
-rw-r--r-- | actionview/test/template/form_helper_test.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/actionview/test/template/form_helper_test.rb b/actionview/test/template/form_helper_test.rb index 590e79d114..70f690478d 100644 --- a/actionview/test/template/form_helper_test.rb +++ b/actionview/test/template/form_helper_test.rb @@ -16,7 +16,8 @@ class FormHelperTest < ActionView::TestCase setup do # Create "label" locale for testing I18n label helpers - I18n.backend.store_translations "label", activemodel: { + I18n.backend.store_translations "label", + activemodel: { attributes: { post: { cost: "Total cost" @@ -47,7 +48,8 @@ class FormHelperTest < ActionView::TestCase } # Create "submit" locale for testing I18n submit helpers - I18n.backend.store_translations "submit", helpers: { + I18n.backend.store_translations "submit", + helpers: { submit: { create: "Create %{model}", update: "Confirm %{model} changes", @@ -58,7 +60,8 @@ class FormHelperTest < ActionView::TestCase } } - I18n.backend.store_translations "placeholder", activemodel: { + I18n.backend.store_translations "placeholder", + activemodel: { attributes: { post: { cost: "Total cost" |