method
test_command
v8.0.0 -
Show latest stable
- Class:
Rails::Generators::PluginGenerator
test_command()private
No documentation available.
# File railties/lib/rails/generators/rails/plugin/plugin_generator.rb, line 490
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