diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-25 16:13:58 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-25 16:14:23 -0700 |
commit | f28340a5ef3dafd3f96e7032b6b21352ebd11f57 (patch) | |
tree | dddda0f5eb428c2ea896cd9fd5feb8263f0080cd /actionview/test | |
parent | 0afbe74c3b813f998db94adbed2eaa63e3d62ec1 (diff) | |
download | rails-f28340a5ef3dafd3f96e7032b6b21352ebd11f57.tar.gz rails-f28340a5ef3dafd3f96e7032b6b21352ebd11f57.tar.bz2 rails-f28340a5ef3dafd3f96e7032b6b21352ebd11f57.zip |
:scissors:
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 4844398c13..e8170d43e1 100644 --- a/actionview/test/template/form_tag_helper_test.rb +++ b/actionview/test/template/form_tag_helper_test.rb @@ -231,7 +231,7 @@ class FormTagHelperTest < ActionView::TestCase expected = %(<select id="places" name="places"><option value=""></option><option>Home</option><option>Work</option><option>Pub</option></select>) assert_dom_equal expected, actual 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' expected = %(<select id="places" name="places"><option value="">Choose</option><option>Home</option><option>Work</option><option>Pub</option></select>) |