diff options
author | Azul <azul@leap.se> | 2014-02-08 16:15:46 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-02-10 14:26:30 +0100 |
commit | cbd757cf151cd61bfdd5637d09f43e4831fec3bb (patch) | |
tree | e5a60f11a2963f0689294d0ebf4f18e93effd099 /users/test/integration/api/login_test.rb | |
parent | 758b9a3c30a73fd985943fb7a887f0373be3a833 (diff) |
require token when updating user via API
Diffstat (limited to 'users/test/integration/api/login_test.rb')
-rw-r--r-- | users/test/integration/api/login_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/test/integration/api/login_test.rb b/users/test/integration/api/login_test.rb index 82219d0..d56dfd1 100644 --- a/users/test/integration/api/login_test.rb +++ b/users/test/integration/api/login_test.rb @@ -14,6 +14,7 @@ class LoginTest < SrpTest test "login with srp" do authenticate + assert_equal ["M2", "id", "token"], server_auth.keys assert last_response.successful? assert_nil server_auth["errors"] assert server_auth["M2"] |