Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-06 | integration test for blocking handles after account destroyed | Azul | |
has not been run yet. | |||
2013-10-30 | test helper to expect_logout. | Azul | |
Currently it expects both the session and the token to be cleared. This might change. But we'll always have a definition of what it means to logout we can test this way. | |||
2013-09-17 | integration tests for session expiry | Azul | |
2013-09-03 | use Token#authenticate for authentication | Azul | |
This will return the user. But we can add timestamp validations and updates here. | |||
2013-08-30 | there's no need for User#find_by_param. clean it up | Azul | |
2013-08-27 | token.user will get you the right user | Azul | |
This way we can stub the token to return the user directly. Stubbing User.find_by_param is not a good idea as it will make all calls to User#find_by_param with a different id fail. | |||
2013-08-27 | make sure find_record still works with real records | Azul | |
2013-08-27 | basic testing for token based auth in tests | Azul | |
2013-07-04 | fix ticket tests, get :admin_user factory to work. | elijah | |
2013-07-04 | user tests -- user update has been moved entirely to api controller, so fix ↵ | elijah | |
tests to reflect this. | |||
2013-01-14 | tickets controller tests passing | Azul | |
2013-01-14 | got users controller test to pass - tickets controller test next. | Azul | |
2012-12-17 | fixed inclusion of stub record helper | Azul | |
2012-12-07 | Merge branch 'master' into help_develop | jessib | |
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-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-12-01 | using login :is_admin => true instead of real records | Azul | |
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-01 | Merge branch 'develop' into help_develop | 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 | Merge branch 'develop' into help_develop | jessib | |
Conflicts: users/app/views/sessions/_nav.html.haml | |||
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-12 | Merge branch 'develop' into help_develop | jessib | |
Conflicts: help/test/functional/tickets_controller_test.rb users/test/functional/application_controller_test.rb users/test/support/auth_test_helper.rb | |||
2012-11-12 | some notes to test that aren't working now. | jessib | |
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 | |