Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Dependencies

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

Finally

  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

About

Feature Based Rails Project

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages