Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-03 | refactored tests with new find_record helper | Azul | |
find_record User will return a stubbed user record and make sure User.find_by_id(user.id) returns the same so it can be used in controllers. | |||
2012-12-03 | make tests pass on an empty db | Azul | |
2012-11-28 | admins can destroy users | Azul | |
I changed the permissions a little to be more consistent. Now: * admins can edit users * users can destroy themselves. There's no ui for either of them but theoretically they could. Not sure this is what we want though. | |||
2012-11-26 | simplified controller and adjusted tests | Azul | |
Also added #assert_json_error to tests. | |||
2012-11-23 | refactored creation of record stubs | Azul | |
2012-11-04 | stubbing current_user the warden way | Azul | |
2012-11-04 | fixing tests, including support files from all engines | Azul | |
2012-10-24 | Extraction of test support methods | Azul | |
2012-10-24 | basic admin controller methods and helpers + tests | Azul | |