aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorJuanito Fatas <juanito.fatas@shopify.com>2018-09-25 15:15:35 +0900
committerJuanito Fatas <juanito.fatas@shopify.com>2018-09-25 15:15:35 +0900
commit6f36168ecaa3fd68bfc8b5ead76e32aa8dc51252 (patch)
tree35ed8b57b891ae3cb7bb413528d8dca121185c0d /actionview
parent65bf046fd1c05405591b940e3b3cd718ca1edba1 (diff)
downloadrails-6f36168ecaa3fd68bfc8b5ead76e32aa8dc51252.tar.gz
rails-6f36168ecaa3fd68bfc8b5ead76e32aa8dc51252.tar.bz2
rails-6f36168ecaa3fd68bfc8b5ead76e32aa8dc51252.zip
Fix a content_for test description
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/template/capture_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/capture_helper_test.rb b/actionview/test/template/capture_helper_test.rb
index 131e49327e..5c01b78ebb 100644
--- a/actionview/test/template/capture_helper_test.rb
+++ b/actionview/test/template/capture_helper_test.rb
@@ -40,7 +40,7 @@ class CaptureHelperTest < ActionView::TestCase
assert_equal "&lt;em&gt;bar&lt;/em&gt;", string
end
- def test_capture_used_for_read
+ def test_content_for_used_for_read
content_for :foo, "foo"
assert_equal "foo", content_for(:foo)