fix meaningless test case
Module#instance_methods returns an Array of Symbols in Ruby >= 1.9 So this was not actually testing anything
This commit is contained in:
parent
870310db6a
commit
24889666c7
@ -2363,7 +2363,7 @@ def test_fields_for_object_with_bracketed_name_and_index
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user