summaryrefslogtreecommitdiff
path: root/users/test
AgeCommit message (Collapse)Author
2012-12-08serve api version 1 in /1/Azul
Just a very simple start for now. Do we want to use the api for the secure remote password auth from js?
2012-12-07fixed test to work with edit view that includes email and email forward.Azul
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-03enable users to cancel their accountAzul
2012-12-03enable admin to edit usersAzul
2012-12-03make tests pass on an empty dbAzul
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-26fixed login error message on wrong usernameAzul
2012-11-26simplified controller and adjusted testsAzul
Also added #assert_json_error to tests.
2012-11-23identify user by id so rerendering the form does not use new invalid loginAzul
2012-11-23refactored creation of record stubsAzul
2012-11-23test editing user settingsAzul
2012-11-22fixed testsAzul
2012-11-19use latest mocha version without monkey patching :)Azul
2012-11-13testing against current staging serverAzul
2012-11-12commented out an unfinished testAzul
2012-11-09seperated the warden classes from the initializerAzul
also commented the sessions controller test a bit and fixed it
2012-11-09got integration test and login flow to workAzul
2012-11-06first steps towards warden srp testingAzul
2012-11-04fixed functional testsAzul
2012-11-04stubbing current_user the warden wayAzul
2012-11-04fixing tests, including support files from all enginesAzul
2012-10-24removing duplicate testing of helper_methodsAzul
* once tested as helper * once tested as @controller.send...
2012-10-24Extraction of test support methodsAzul
2012-10-24basic admin controller methods and helpers + 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-10-11fixed account_flow_test - srp.authenticate now takes a single argAzul
2012-10-08use couchrest session store in core, updated dummy pathAzul
2012-10-07adding validations for valid login chars and verifier and salt being hexAzul
2012-10-06comment out debugging linesAzul
2012-10-05using safe_unhexlify to workaround 0 paddingAzul
also changed the debug output so it helps creating tests for ruby-srp
2012-10-05moving to ruby_srp 0.1.0, works with python srpAzul
2012-10-02trying to use the same Hash Alg and Prime as webapp - still failingAzul
2012-10-02use hexlify and unhexlify everywhere neededAzul
except the final auth as this is still broken anyway
2012-10-02starting to write a srp test with python srp libAzul
2012-09-27added in leap web users - one repo to rule them allAzul