tasks/test.rake in active_admin_sidebar-1.0.0 vs tasks/test.rake in active_admin_sidebar-1.1.0
- old
+ new
@@ -1,6 +1,14 @@
desc "Creates a test rails app for the specs to run against"
task :setup do
require 'rails/version'
system("mkdir spec/rails") unless File.exists?("spec/rails")
- system "bundle exec rails new spec/rails/rails-#{Rails::VERSION::STRING} -m spec/support/rails_template.rb --skip-spring"
+
+ rails_new_opts = %w(
+ --skip-turbolinks
+ --skip-spring
+ --skip-bootsnap
+ -m
+ spec/support/rails_template.rb
+ )
+ system "bundle exec rails new spec/rails/rails-#{Rails::VERSION::STRING} #{rails_new_opts.join(' ')}"
end