-
-
Save sarahmei/609269 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 group :test, :development do >> Gemfile;") | |
run("echo gem \\'rspec-rails\\', \\'\\>\\= 2.0.0.beta.22\\' >> Gemfile;") | |
run("echo gem \\'capybara\\' >> Gemfile;") | |
run("echo gem \\'database_cleaner\\' >> Gemfile;") | |
run("echo gem \\'cucumber-rails\\' >> Gemfile;") | |
run("echo gem \\'cucumber\\' >> Gemfile;") | |
run("echo gem \\'spork\\' >> Gemfile;") | |
run("echo gem \\'launchy\\' >> Gemfile;") | |
run("echo end >> Gemfile;") | |
run("bundle install") | |
generate("rspec:install") | |
generate("cucumber:install --rspec --capybara") | |
rake("db:migrate") | |
run("rm -rf test") | |
run("rm -rf features") | |
git(:clone => "http://github.com/sarahmei/workshop-features.git") | |
run("mv workshop-features features") | |
inside("features") { run("rm -rf .git") } | |
inside("config") { run("echo default: --format pretty > cucumber.yml") } | |
run("echo log/ > .gitignore; echo 'db/*.sqlite3' >> .gitignore;") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment