Sha256: eaee6634c97ab3f90b7d62809c0a70c451363beeacc899c5767d82dd97adcce0

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

require 'generators/minitest'

module MiniTest
  module Generators
    class IntegrationGenerator < MiniTest::Rails::Generators::Base
      check_class_collision :suffix => "Test"

      def create_test_files
        template 'integration_test.rb', File.join('test/integration', class_path, "#{file_name}_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/integration/integration_generator.rb