aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/form_helper_test.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2012-06-05 04:27:44 +0900
committerAkira Matsuda <ronnie@dio.jp>2012-06-06 18:56:49 +0900
commit24889666c7eee345f88a588108f38e6d5fe25482 (patch)
tree41c14d0fdba6d16638b599587ee72dde18cfed8d /actionpack/test/template/form_helper_test.rb
parent870310db6a9f3c4ef70831cbc31271d567c90137 (diff)
downloadrails-24889666c7eee345f88a588108f38e6d5fe25482.tar.gz
rails-24889666c7eee345f88a588108f38e6d5fe25482.tar.bz2
rails-24889666c7eee345f88a588108f38e6d5fe25482.zip
fix meaningless test case
Module#instance_methods returns an Array of Symbols in Ruby >= 1.9 So this was not actually testing anything
Diffstat (limited to 'actionpack/test/template/form_helper_test.rb')
-rw-r--r--actionpack/test/template/form_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb
index b3e0c0256a..7da293ce23 100644
--- a/actionpack/test/template/form_helper_test.rb
+++ b/actionpack/test/template/form_helper_test.rb
@@ -2363,7 +2363,7 @@ class FormHelperTest < ActionView::TestCase
end
def test_form_builder_does_not_have_form_for_method
- assert ! ActionView::Helpers::FormBuilder.instance_methods.include?('form_for')
+ assert !ActionView::Helpers::FormBuilder.instance_methods.include?(:form_for)
end
def test_form_for_and_fields_for