Add authentication and User model

* Add User model
* Add SessionsController
* Add password authentication on User
* Request authentication for all actions except sign in
* Add some helpers for ApplicationController
* Update features to work with mandatory authentication
This commit is contained in:
Thibault Jouan
2011-08-04 09:50:17 +00:00
parent 18b254e3d1
commit 7bf4d4c5f9
22 changed files with 276 additions and 3 deletions

View File

@@ -4,6 +4,9 @@ Feature: Home
As a listener
I want to access the main features and valuable content from the homepage
Background:
Given I am signed in
Scenario: Playlist access
Given a playlist named "Electro"
When I am on the home page