summaryrefslogtreecommitdiff
path: root/users/test/functional/sessions_controller_test.rb
AgeCommit message (Collapse)Author
2014-04-08moving users: app and test filesAzul
2013-12-22locale prefix support:elijah
* set locale based on request header * enforce locale path prefix when current locale is not the default * note: don't use root_path anymore, instead use home_path
2013-12-16Add test.jessib
2013-10-30test 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-03Cleanup sessions controller - webapp logs in through the api.Azul
So the #create and #update actions were not needed anymore. Also removed the tests
2013-04-02send more meaningful error message on completely failed login attemptAzul
2013-02-26api for sessions fixedAzul
* now we return the user id on login * allow a destroy request for logging out * added test for api sessions controller
2012-11-26simplified controller and adjusted testsAzul
Also added #assert_json_error to tests.
2012-11-22fixed testsAzul
2012-11-09seperated the warden classes from the initializerAzul
also commented the sessions controller test a bit and fixed it
2012-11-04fixed functional testsAzul
2012-10-11use ruby-srp 0.1.3 which returns the user on authenticate callAzul
Also removed a few hooks to User.current. Will replace with current_user
2012-10-11adjusted sessions controller test to new srp apiAzul
handshake.to_json now returns what we want.
2012-09-27added in leap web users - one repo to rule them allAzul