method
test
v4.2.7 -
Show latest stable
- Class:
Rails::PluginBuilder
test()public
No documentation available.
# File railties/lib/rails/generators/rails/plugin/plugin_generator.rb, line 63
def test
template "test/test_helper.rb"
template "test/%name%_test.rb"
append_file "Rakefile", #{rakefile_test_tasks}task default: :test
if engine?
template "test/integration/navigation_test.rb"
end
end