Berkeley169 / fight_Impunity_Haiti

Berkeley CS 169 project working with a non-profit group to fight impunity in Haiti.
1 stars 0 forks source link

Rspec for Devise testing #27

Closed nherson closed 11 years ago

nherson commented 11 years ago

Write some Rspec tests to make sure Devise is working correctly as an authentication agent.

ryankillory commented 11 years ago

Working on this now. Any particular requests?

nherson commented 11 years ago

Find out how to get factory girl working with the User and Session models if Colin hasn't already done that. Check out his commit history in the admin branch and read the devise documentation to get an idea how it all works.

Colin could probably tell you more in terms of exact spec tests that need to be written.

ryankillory commented 11 years ago

There is no Session model. Did you mean the Session controller? I hit him up though so I'm on it. Thanks!

nherson commented 11 years ago

Session controller***

cmurphy23 commented 11 years ago

The sessions controller inherits from Devise::SessionsController and overrides nothing. The User Controller and Dashboard Controller are what need tests.

On Sunday, October 20, 2013 6:40 PM, Nicholas Herson notifications@github.com wrote:

Session controller*** — Reply to this email directly or view it on GitHub.