Created
July 27, 2011 03:22
-
-
Save ultrasaurus/1108601 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run("echo gem \\'rake\\', \\'0.8.7\\' >> Gemfile;") | |
run("echo group :test, :development do >> Gemfile;") | |
run("echo gem \\'rspec-rails\\', \\'\\>\\= 2.3.0\\' >> Gemfile;") | |
run("echo gem \\'capybara\\', \\'0.4.0\\' >> Gemfile;") | |
run("echo gem \\'database_cleaner\\' >> Gemfile;") | |
run("echo gem \\'cucumber-rails\\' >> Gemfile;") | |
run("echo gem \\'launchy\\' >> Gemfile;") | |
run("echo end >> Gemfile;") | |
run("bundle install") | |
generate("rspec:install") | |
generate("cucumber:install --rspec --capybara") | |
run("bundle exec rake db:migrate") | |
run("rm -rf features") | |
git(:clone => "git://github.com/cde/es-workshop-features.git") | |
run("mv es-workshop-features features") | |
inside("features") { run("rm -rf .git") } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment