aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/form_options_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/form_options_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/form_options_helper_test.rb')
-rw-r--r--actionpack/test/template/form_options_helper_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/test/template/form_options_helper_test.rb b/actionpack/test/template/form_options_helper_test.rb
index f3ecc18233..48a26deea9 100644
--- a/actionpack/test/template/form_options_helper_test.rb
+++ b/actionpack/test/template/form_options_helper_test.rb
@@ -22,9 +22,8 @@ end
ActionView::Helpers::FormOptionsHelper::TimeZone = MockTimeZone
-class FormOptionsHelperTest < Test::Unit::TestCase
- include ActionView::Helpers::FormHelper
- include ActionView::Helpers::FormOptionsHelper
+class FormOptionsHelperTest < ActionView::TestCase
+ tests ActionView::Helpers::FormOptionsHelper
silence_warnings do
Post = Struct.new('Post', :title, :author_name, :body, :secret, :written_on, :category, :origin)