aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-09-16 15:49:48 -0300
committerGitHub <noreply@github.com>2016-09-16 15:49:48 -0300
commit7f3b86372a9ee2873fb66a84d9fbf2bb5177f941 (patch)
tree70e59c9707111de4c1cdf1a24a7a39d5b4b8b767 /actionview
parent1a128ac7068ab2c9ff3844131e9ba7a0b5c35aa6 (diff)
parentb73271d2637d10f054d9e113d51efbea08af69b6 (diff)
downloadrails-7f3b86372a9ee2873fb66a84d9fbf2bb5177f941.tar.gz
rails-7f3b86372a9ee2873fb66a84d9fbf2bb5177f941.tar.bz2
rails-7f3b86372a9ee2873fb66a84d9fbf2bb5177f941.zip
Merge pull request #26509 from claudiob/rename-as
Rename test to match what it does
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/template/form_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/form_helper_test.rb b/actionview/test/template/form_helper_test.rb
index e82905175a..e27586342d 100644
--- a/actionview/test/template/form_helper_test.rb
+++ b/actionview/test/template/form_helper_test.rb
@@ -1808,7 +1808,7 @@ class FormHelperTest < ActionView::TestCase
assert_dom_equal expected, output_buffer
end
- def test_form_for_with_symbol_object_name
+ def test_form_for_with_symbol_as
form_for(@post, as: "other_name", html: { id: "create-post" }) do |f|
concat f.label(:title, class: "post_title")
concat f.text_field(:title)