aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/date_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/date_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/date_helper_test.rb')
-rwxr-xr-xactionpack/test/template/date_helper_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/test/template/date_helper_test.rb b/actionpack/test/template/date_helper_test.rb
index 25b1f9f002..9bd433e76b 100755
--- a/actionpack/test/template/date_helper_test.rb
+++ b/actionpack/test/template/date_helper_test.rb
@@ -1,8 +1,7 @@
require 'abstract_unit'
-class DateHelperTest < Test::Unit::TestCase
- include ActionView::Helpers::DateHelper
- include ActionView::Helpers::FormHelper
+class DateHelperTest < ActionView::TestCase
+ tests ActionView::Helpers::DateHelper
silence_warnings do
Post = Struct.new("Post", :id, :written_on, :updated_at)