Sha256: 8d48bc1b36452945d0c6ba3d5ed65f0f3d260f90e385a836b3829ed647391afd
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
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") rails_new_opts = %w( --skip-turbolinks --skip-spring --skip-bootsnap --skip-webpack-install -m spec/support/rails_template.rb ) system "bundle exec rails new spec/rails/rails-#{Rails::VERSION::STRING} #{rails_new_opts.join(' ')}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_admin_sidebar-2.0.0 | tasks/test.rake |