Commit graph

7 commits

Author SHA1 Message Date
Tom Hughes
98184dfb9c Reorganise tests to match modern rails test layout 2014-02-26 00:13:19 +00:00
Tom Hughes
d8399d3e18 IntegrationTest is now in ActionDispatch not ActionController 2013-09-21 11:35:46 +01:00
Tom Hughes
5f33656c8d Get rid of custom CSRF protection for user role changes
By restricting role changes to POST requests, which they should be
anyway, we get all the rails CSRF protection for free.
2012-03-20 17:21:13 +00:00
Tom Hughes
ef820ade46 Fix some incorrect tests that relied on the default routes 2012-03-09 20:16:18 +00:00
Tom Hughes
c6609cce24 Fixup tests to work after changes to user controller 2010-05-11 14:12:57 +01:00
Tom Hughes
fc9df968fc Fix tests which do logins to handle the cookie test. 2009-10-09 09:13:13 +00:00
Matt Amos
1e3b3c1f10 Refactored user_role and controller. Now much more DRY. 2009-10-01 17:15:34 +00:00