Sha256: 98174702ce0b132e13265d12a8b83a32670ea00080f3e97d11d3238f08163802

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

desc 'Creates a test rails app for the specs to run against'
task :setup do
  require 'rails/version'

  rails_new_args = %w[
    --skip-turbolinks
    --skip-spring
    --skip-bootsnap
    -m
    spec/support/rails_template.rb
  ].join(' ')

  system "bundle exec rails new spec/rails/rails-#{Rails::VERSION::STRING} #{rails_new_args}"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_admin_scoped_collection_actions-1.0.1 tasks/test.rake
active_admin_scoped_collection_actions-0.4.1 tasks/test.rake
active_admin_scoped_collection_actions-0.4.0 tasks/test.rake