1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Privatize non-test method

This commit is contained in:
Akira Matsuda 2013-07-22 13:38:37 +09:00
parent 4db0637d55
commit 3c6f35dc03

View file

@ -48,6 +48,7 @@ module Rails
assert_equal ['test'], info.tasks
end
private
def new_test_info(tasks)
Class.new(TestTask::TestInfo) {
def task_defined?(task)