diff --git a/test/action_view/cases/test_form_for_helpers.rb b/test/action_view/cases/test_form_for_helpers.rb index 1f811377..a26236b1 100644 --- a/test/action_view/cases/test_form_for_helpers.rb +++ b/test/action_view/cases/test_form_for_helpers.rb @@ -662,7 +662,7 @@ def test_field_with_format_space end def test_field_with_format_escaped_space - assert_field_with_format_has_source(:escaped_space, '\\ ') + assert_field_with_format_has_source(:escaped_space, ' ') end def test_field_with_format_ascii_escape diff --git a/test/action_view/cases/test_form_with_helpers.rb b/test/action_view/cases/test_form_with_helpers.rb index c0a4b703..9a367c03 100644 --- a/test/action_view/cases/test_form_with_helpers.rb +++ b/test/action_view/cases/test_form_with_helpers.rb @@ -661,7 +661,7 @@ def test_form_with_field_with_format_space end def test_form_with_field_with_format_escaped_space - assert_field_with_format_has_source(:escaped_space, '\\ ') + assert_field_with_format_has_source(:escaped_space, ' ') end def test_form_with_field_with_format_ascii_escape