diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-25 16:14:28 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-25 16:20:41 -0700 |
commit | b2278aa1a0c02f8793587f625900504b447b4517 (patch) | |
tree | b517e6ae30c683351b6f47b103f9c5b911231209 /actionview/test | |
parent | f28340a5ef3dafd3f96e7032b6b21352ebd11f57 (diff) | |
download | rails-b2278aa1a0c02f8793587f625900504b447b4517.tar.gz rails-b2278aa1a0c02f8793587f625900504b447b4517.tar.bz2 rails-b2278aa1a0c02f8793587f625900504b447b4517.zip |
Use new hash syntax
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/form_tag_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/form_tag_helper_test.rb b/actionview/test/template/form_tag_helper_test.rb index e8170d43e1..f8fd642809 100644 --- a/actionview/test/template/form_tag_helper_test.rb +++ b/actionview/test/template/form_tag_helper_test.rb @@ -233,7 +233,7 @@ class FormTagHelperTest < ActionView::TestCase end def test_select_tag_with_include_blank_string - actual = select_tag "places", "<option>Home</option><option>Work</option><option>Pub</option>".html_safe, :include_blank => 'Choose' + actual = select_tag "places", "<option>Home</option><option>Work</option><option>Pub</option>".html_safe, include_blank: 'Choose' expected = %(<select id="places" name="places"><option value="">Choose</option><option>Home</option><option>Work</option><option>Pub</option></select>) assert_dom_equal expected, actual end |