aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/generators/test_unit/helper/helper_generator.rb
blob: 866556f6a16a3983b03ef6f4a309b0d14d5409c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                
                                                   






                                                                                                            
module TestUnit
  module Generators
    class HelperGenerator < Base
      check_class_collision :suffix => "HelperTest"

      def create_helper_files
        template 'helper_test.rb', File.join('test/unit/helpers', class_path, "#{file_name}_helper_test.rb")
      end
    end
  end
end