This project uses: Rails 3 authlogic http://github.com/binarylogic/authlogic declarative_authorization http://wiki.github.com/stffn/declarative_authorization/ cucumber http://wiki.github.com/aslakhellesoy/cucumber/ rspec http://wiki.github.com/dchelimsky/rspec/ The rspec tests are not 100%. The tests can use a ton of refactoring too. It's a start. Thanks to railscasts Authlogic http://railscasts.com/episodes/160-authlogic railscasts declarative-authorization http://railscasts.com/episodes/188-declarative-authorization and the documentation for the gems I used.
johnivanoff/auth_with_roles
rails 3, Authlogic, declarative_authorization using cucumber and rspec
Ruby