aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/tag_helper_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-04-19 13:06:57 -0500
committerJoshua Peek <josh@joshpeek.com>2008-04-19 13:08:24 -0500
commit17d4164a16e5fe7b252375211424a2999a331291 (patch)
tree772695335b861e70caa15d92cd77ca568406cb7f /actionpack/test/template/tag_helper_test.rb
parentef4c65088fb907fc819e6b5d83d284c38cdaabfc (diff)
downloadrails-17d4164a16e5fe7b252375211424a2999a331291.tar.gz
rails-17d4164a16e5fe7b252375211424a2999a331291.tar.bz2
rails-17d4164a16e5fe7b252375211424a2999a331291.zip
Introduce ActionView::TestCase for testing view helpers.
Diffstat (limited to 'actionpack/test/template/tag_helper_test.rb')
-rw-r--r--actionpack/test/template/tag_helper_test.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/actionpack/test/template/tag_helper_test.rb b/actionpack/test/template/tag_helper_test.rb
index 4b73289060..4da6116095 100644
--- a/actionpack/test/template/tag_helper_test.rb
+++ b/actionpack/test/template/tag_helper_test.rb
@@ -1,10 +1,7 @@
require 'abstract_unit'
-class TagHelperTest < Test::Unit::TestCase
- include ActionView::Helpers::TagHelper
- include ActionView::Helpers::UrlHelper
- include ActionView::Helpers::TextHelper
- include ActionView::Helpers::CaptureHelper
+class TagHelperTest < ActionView::TestCase
+ tests ActionView::Helpers::TagHelper
def test_tag
assert_equal "<br />", tag("br")