summaryrefslogtreecommitdiff
path: root/users/test/support
AgeCommit message (Collapse)Author
2012-12-07Merge branch 'master' into help_developjessib
Conflicts: app/views/layouts/application.html.haml help/app/controllers/tickets_controller.rb help/test/functional/tickets_controller_test.rb users/test/support/stub_record_helper.rb
2012-12-03refactored tests with new find_record helperAzul
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-03make tests pass on an empty dbAzul
2012-12-01using login :is_admin => true instead of real recordsAzul
Travis CI does not seem to have the admin user records. Let's not depend on them and just stub the admin user.
2012-12-01Merge branch 'develop' into help_developAzul
2012-11-28admins can destroy usersAzul
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-26Merge branch 'develop' into help_developjessib
Conflicts: users/app/views/sessions/_nav.html.haml
2012-11-26simplified controller and adjusted testsAzul
Also added #assert_json_error to tests.
2012-11-23refactored creation of record stubsAzul
2012-11-12Merge branch 'develop' into help_developjessib
Conflicts: help/test/functional/tickets_controller_test.rb users/test/functional/application_controller_test.rb users/test/support/auth_test_helper.rb
2012-11-12some notes to test that aren't working now.jessib
2012-11-04stubbing current_user the warden wayAzul
2012-11-04fixing tests, including support files from all enginesAzul
2012-10-24Extraction of test support methodsAzul
2012-10-24basic admin controller methods and helpers + testsAzul