aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_unit/plugin/plugin_generator.rb
blob: 10fe27b2c324accdcdf0ef19551d4cb2f1a70f11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require_relative "../../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