Skip to content
Browse files

missed underscore in AV::TestCase helper_method documentation

  • Loading branch information...
1 parent a917c2b commit f51cb36fe9ef9edf67801df607ad034b12f7a8ea @avakhov avakhov committed Oct 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/test_case.rb
View
2 actionpack/lib/action_view/test_case.rb
@@ -63,7 +63,7 @@ def helper_method(*methods)
methods.flatten.each do |method|
_helpers.module_eval <<-end_eval
def #{method}(*args, &block) # def current_user(*args, &block)
- _test_case.send(%(#{method}), *args, &block) # test_case.send(%(current_user), *args, &block)
+ _test_case.send(%(#{method}), *args, &block) # _test_case.send(%(current_user), *args, &block)
end # end
end_eval
end

0 comments on commit f51cb36

Please sign in to comment.
Something went wrong with that request. Please try again.