aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/active_model_helper_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-02-27 09:44:58 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-02-27 13:52:55 -0300
commita6074c34e5e27b8d2b242808b7eb4e3f3ccf5f6e (patch)
treed2fe581114ff81d0cf8a75427deb2f7ace4507db /actionpack/test/template/active_model_helper_test.rb
parent551566db06f54f35aeadaa320ef073ea1335ad60 (diff)
downloadrails-a6074c34e5e27b8d2b242808b7eb4e3f3ccf5f6e.tar.gz
rails-a6074c34e5e27b8d2b242808b7eb4e3f3ccf5f6e.tar.bz2
rails-a6074c34e5e27b8d2b242808b7eb4e3f3ccf5f6e.zip
Add a new line after the textarea opening tag.
Closes #393
Diffstat (limited to 'actionpack/test/template/active_model_helper_test.rb')
-rw-r--r--actionpack/test/template/active_model_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/active_model_helper_test.rb b/actionpack/test/template/active_model_helper_test.rb
index 52be0f1762..66a7bce71e 100644
--- a/actionpack/test/template/active_model_helper_test.rb
+++ b/actionpack/test/template/active_model_helper_test.rb
@@ -29,7 +29,7 @@ class ActiveModelHelperTest < ActionView::TestCase
def test_text_area_with_errors
assert_dom_equal(
- %(<div class="field_with_errors"><textarea cols="40" id="post_body" name="post[body]" rows="20">Back to the hill and over it again!</textarea></div>),
+ %(<div class="field_with_errors"><textarea cols="40" id="post_body" name="post[body]" rows="20">\nBack to the hill and over it again!</textarea></div>),
text_area("post", "body")
)
end