diff options
author | José Valim <jose.valim@gmail.com> | 2011-10-09 02:15:19 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-10-09 02:15:19 -0700 |
commit | 501e5b0d7ff995070e66d4322ed03bd882639258 (patch) | |
tree | 10341d3a391c1fe62808b34dd7cf49323428bd8f /actionpack/test/template/test_test.rb | |
parent | bedd6dcd432f55460624455b5026d1d52c1967d4 (diff) | |
parent | 8df7fe3f630e13da1585c151f6f2f986ea7dcdfd (diff) | |
download | rails-501e5b0d7ff995070e66d4322ed03bd882639258.tar.gz rails-501e5b0d7ff995070e66d4322ed03bd882639258.tar.bz2 rails-501e5b0d7ff995070e66d4322ed03bd882639258.zip |
Merge pull request #3196 from avakhov/patch-am-av-tests-2
Improve tests method for ActionView::TestCase and ActionMailer::TestCase
Diffstat (limited to 'actionpack/test/template/test_test.rb')
-rw-r--r-- | actionpack/test/template/test_test.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/actionpack/test/template/test_test.rb b/actionpack/test/template/test_test.rb index bf789cd8b7..adcbf1447f 100644 --- a/actionpack/test/template/test_test.rb +++ b/actionpack/test/template/test_test.rb @@ -62,3 +62,19 @@ class CrazyHelperTest < ActionView::TestCase assert_equal PeopleHelper, self.class.helper_class end end + +class CrazySymbolHelperTest < ActionView::TestCase + tests :people + + def test_set_helper_class_using_symbol + assert_equal PeopleHelper, self.class.helper_class + end +end + +class CrazyStringHelperTest < ActionView::TestCase + tests 'people' + + def test_set_helper_class_using_string + assert_equal PeopleHelper, self.class.helper_class + end +end |