Skip to content

Instantly share code, notes, and snippets.

@martinisoft
Forked from sarahmei/gist:609269
Created February 3, 2011 19:57
Show Gist options
  • Save martinisoft/810076 to your computer and use it in GitHub Desktop.
Save martinisoft/810076 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