diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-08-23 11:57:23 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-08-23 11:57:23 -0400 |
commit | 85f8fc2246eed2599fb0876ab78f5cf7bcda829c (patch) | |
tree | e404eca82fca1932368ac7874ac4af3db3663225 /actionview/test | |
parent | 783295f7065952e508a061c3d8acead16a9a39b1 (diff) | |
download | rails-85f8fc2246eed2599fb0876ab78f5cf7bcda829c.tar.gz rails-85f8fc2246eed2599fb0876ab78f5cf7bcda829c.tar.bz2 rails-85f8fc2246eed2599fb0876ab78f5cf7bcda829c.zip |
Remove alt generation from image_submit_tag
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 48c567008d..5e328ebf53 100644 --- a/actionview/test/template/form_tag_helper_test.rb +++ b/actionview/test/template/form_tag_helper_test.rb @@ -641,7 +641,7 @@ class FormTagHelperTest < ActionView::TestCase def test_image_submit_tag_with_confirmation assert_dom_equal( - %(<input alt="Save" type="image" src="/images/save.gif" data-confirm="Are you sure?" />), + %(<input type="image" src="/images/save.gif" data-confirm="Are you sure?" />), image_submit_tag("save.gif", data: { confirm: "Are you sure?" }) ) end |