Andy Allan
|
4165bc0362
|
Use user factories for user_roles integration tests.
|
2017-03-10 11:02:40 +00:00 |
|
Tom Hughes
|
8eca904388
|
Rename stub_signup_requests to stub_hostip_requests
|
2016-11-09 20:36:09 +00:00 |
|
Tom Hughes
|
5c9f1310b0
|
Convert more 'setup do' to 'def setup' for consistency
|
2016-11-09 20:33:55 +00:00 |
|
Andy Allan
|
7cc1cc618d
|
Extract the hostip.info stubbing into a common method.
There doesn't appear to be any before(:suite) equivalent for Minitest
so this is the least-surprising way to do this.
|
2016-11-09 16:00:47 +00:00 |
|
Andy Allan
|
d3d6e9902c
|
Stub out requests to hostip.info during tests
These are detecting the correct locale for showing terms during signup
|
2016-10-30 10:28:46 +01:00 |
|
Tom Hughes
|
dc2a2c8ebd
|
Standardise on double quoted strings
|
2015-02-20 19:47:26 +00:00 |
|
Tom Hughes
|
ef7f3d800c
|
Fix most auto-correctable rubocop issues
|
2015-02-20 08:56:16 +00:00 |
|
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 |
|