Skip to content

Instantly share code, notes, and snippets.

@evanfarrar
Forked from martinisoft/suggestotron
Created May 7, 2011 14:00
Show Gist options
  • Save evanfarrar/960515 to your computer and use it in GitHub Desktop.
Save evanfarrar/960515 to your computer and use it in GitHub Desktop.
run("echo group :test, :development do >> Gemfile;")
run("echo gem \\'rspec-rails\\', \\'\\>\\= 2.3.0\\' >> Gemfile;")
run("echo gem \\'capybara\\', \\'0.3.9\\' >> 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")
rake("db:migrate")
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") }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment