From 07ccb1e133c9fd25ab215e260a616cb019bfe13f Mon Sep 17 00:00:00 2001 From: Viktor Fonic Date: Thu, 23 Feb 2017 13:07:15 +0700 Subject: Skip turbolinks for engine test application When `rails new plugin` is invoked, turbolinks should be skipped in the dummy test application generated by the plugin generator. --- railties/lib/rails/generators/rails/plugin/plugin_generator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb index 3fcd8607f0..ca48919f9a 100644 --- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb +++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb @@ -92,6 +92,7 @@ task default: :test opts[:api] = options.api? opts[:skip_listen] = true opts[:skip_git] = true + opts[:skip_turbolinks] = true invoke Rails::Generators::AppGenerator, [ File.expand_path(dummy_path, destination_root) ], opts -- cgit v1.2.3