Skip to content

Instantly share code, notes, and snippets.

@johnantoni
Created April 28, 2009 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnantoni/103349 to your computer and use it in GitHub Desktop.
Save johnantoni/103349 to your computer and use it in GitHub Desktop.
script/generate cucumber :setup cucumber in your app
cucumber features -n :test against /features
script/generate rspec_model Article title:string content:text
..generate rspec model + db migrations
rake db:migrate :migrate database
rake db:test:clone :clone migrations to test database
script/generate rspec_controller articles index
..generate rspec controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment