Another one of those starter rails projects. This one has one interesting feature which is that it has rewritten 'features' for testing authentication using restful-authentication. The features have been written to be
- Simple
- Declarative rather than imperative (they say what should happen not how)
- Have steps that are simple enough that I can understand them (that's pretty simple)
You'll need to install the following gems
- rspec-rails
- cucumber (currently a dependency of rspec-rails)
- the very latest compass
Compass currently requires the latest version of haml. Follow instructions from here
Apologies for depending on compass, its not necessary for the features, but it is something I want to use. You may need other stuff as well.
Finally
- create a database.yml
- run db:create:all db:migrate
Then the following should run and pass
- rake spec
- rake features