Sha256: d3b81eaf77b4502efbf64461e5480ec6fbf322d2cdc89fe8e3dd93a849420a6b

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

require 'generators/minitest'

module MiniTest
  module Generators
    class HelperGenerator < MiniTest::Rails::Generators::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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minitest-rails-0.0.1 lib/generators/minitest/helper/helper_generator.rb