Created: 2008-12-05 05:34
Updated: 2018-03-21 18:23


fbrp Feature Based Rails Project

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

  1. Simple
  2. Declarative rather than imperative (they say what should happen not how)
  3. Have steps that are simple enough that I can understand them (that's pretty simple)


You'll need to install the following gems

  1. rspec-rails
  2. cucumber (currently a dependency of rspec-rails)
  3. 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.

Run Features


  1. create a database.yml
  2. run db:create:all db:migrate

Then the following should run and pass

  1. rake spec
  2. rake features
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more