Sha256: 23e7a2bd9f8a7efd63ce113037c6fed9ceb114da47a3e1772bd52f7dc78fd9f5

Contents?: true

Size: 298 Bytes

Versions: 197

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

require "rails/generators/test_unit"

module TestUnit # :nodoc:
  module Generators # :nodoc:
    class PluginGenerator < Base # :nodoc:
      check_class_collision suffix: "Test"

      def create_test_files
        directory ".", "test"
      end
    end
  end
end

Version data entries

197 entries across 184 versions & 13 rubygems

Version Path
railties-6.0.0.rc1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.3 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.3.rc1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-6.0.0.beta3 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.2.1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-6.0.0.beta2 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-6.0.0.beta1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.2 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.2.rc1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.1.1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.1.rc1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.0 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.0.rc2 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.0.rc1 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.0.beta2 lib/rails/generators/test_unit/plugin/plugin_generator.rb
railties-5.2.0.beta1 lib/rails/generators/test_unit/plugin/plugin_generator.rb