blob: d4c287540ca63e6bc3f52e12a0d458b46dfe0de0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'rails/generators/test_unit'
module TestUnit
module Generators
class HelperGenerator < Base
check_class_collision :suffix => "HelperTest"
def create_helper_files
template 'helper_test.rb', File.join('test/helpers', class_path, "#{file_name}_helper_test.rb")
end
end
end
end
|