diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-04-19 13:06:57 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-04-19 13:08:24 -0500 |
commit | 17d4164a16e5fe7b252375211424a2999a331291 (patch) | |
tree | 772695335b861e70caa15d92cd77ca568406cb7f /actionpack/test/template/date_helper_test.rb | |
parent | ef4c65088fb907fc819e6b5d83d284c38cdaabfc (diff) | |
download | rails-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-x | actionpack/test/template/date_helper_test.rb | 5 |
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) |