Permalink
Browse files

Use --skip-test-unit

  • Loading branch information...
1 parent ed5787d commit e833a27b39a987cd9decd7909673c22dd2b55f14 @justinko justinko committed Mar 17, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 Rakefile
View
3 Rakefile
@@ -62,11 +62,10 @@ namespace :generate do
desc "generate a fresh app with rspec installed"
task :app do |t|
unless File.directory?('./tmp/example_app')
- sh "rails new ./tmp/example_app --skip-javascript --skip-gemfile --skip-git"
+ sh "rails new ./tmp/example_app --skip-javascript --skip-gemfile --skip-git --skip-test-unit"
bindir = File.expand_path("bin")
if test ?d, bindir
Dir.chdir("./tmp/example_app") do
- sh "rm -rf test"
sh "ln -s #{bindir}"
application_file = File.read("config/application.rb")
sh "rm config/application.rb"

1 comment on commit e833a27

@dchelimsky
RSpec member

D'oh! Nice one.

Please sign in to comment.