Sha256: a8d01718e94c83f6368533ba7a301f2e3c9c287babcae3bebb0e7369abc0278a

Contents?: true

Size: 348 Bytes

Versions: 161

Compression:

Stored size: 348 Bytes

Contents

require 'rails/generators/test_unit'

module TestUnit # :nodoc:
  module Generators # :nodoc:
    class IntegrationGenerator < Base # :nodoc:
      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

161 entries across 156 versions & 12 rubygems

Version Path
railties-4.2.11.3 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-4.2.11.2 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.7.2 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-4.2.11.1 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.7.1 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-4.2.11 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.7 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-4.2.10 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-4.2.10.rc1 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.6 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.6.rc1 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.5 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.5.rc2 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.5.rc1 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-4.2.9 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-4.2.9.rc2 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.4 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.4.rc1 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-4.2.9.rc1 lib/rails/generators/test_unit/integration/integration_generator.rb
railties-5.0.3 lib/rails/generators/test_unit/integration/integration_generator.rb