Sha256: 24fcfa9667ffa00772a98ae6bbe8607d9f007fc22de4e6344f473e805cf25ef9

Contents?: true

Size: 311 Bytes

Versions: 5

Compression:

Stored size: 311 Bytes

Contents

desc "Creates a test rails app for the specs to run against"
task :setup do
  system("mkdir spec/dummy") unless File.exists?("spec/dummy")
  create_dummy = "bundle exec rails new #{ENV['RAILS_ROOT']} -m spec/support/rails_template.rb --skip-bundle"
  puts "Running '#{create_dummy}'"
  system(create_dummy)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
favourite_object-0.1.1 lib/tasks/test.rake
favourite_object-0.1.0 lib/tasks/test.rake
favourite_object-0.0.3 lib/tasks/test.rake
favourite_object-0.0.2 lib/tasks/test.rake
favourite_object-0.0.1 lib/tasks/test.rake