method

test_command

rails latest stable - Class: Rails::Generators::PluginGenerator

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

test_command()
private

No documentation available.

# File railties/lib/rails/generators/rails/plugin/plugin_generator.rb, line 492
      def test_command
        if engine? && !options[:skip_active_record] && with_dummy_app?
          "bin/rails db:test:prepare test"
        elsif engine?
          "bin/rails test"
        else
          "bin/test"
        end
      end