diff options
author | Azul <azul@leap.se> | 2014-02-08 12:29:08 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-02-10 14:26:30 +0100 |
commit | 758b9a3c30a73fd985943fb7a887f0373be3a833 (patch) | |
tree | 935bf639bb17ea034d7864205d087f6cd3497175 /users/test/integration/api/srp_test.rb | |
parent | 67f17e65b9e9e8ad2991b9c4002dba5203baa77f (diff) |
split up and expand account integration test
Diffstat (limited to 'users/test/integration/api/srp_test.rb')
-rw-r--r-- | users/test/integration/api/srp_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/users/test/integration/api/srp_test.rb b/users/test/integration/api/srp_test.rb index b291269..bb24f5f 100644 --- a/users/test/integration/api/srp_test.rb +++ b/users/test/integration/api/srp_test.rb @@ -52,6 +52,11 @@ class SrpTest < RackTest @server_auth = srp(params).authenticate(self) end + def logout + delete "http://api.lvh.me:3000/1/logout.json", + format: :json + end + def cleanup_user(login = nil) login ||= @user.login Identity.by_address.key(login + '@' + APP_CONFIG[:domain]).each do |identity| |