summaryrefslogtreecommitdiff
path: root/test/integration/api
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-03-28 15:56:21 -0700
committerelijah <elijah@riseup.net>2016-03-28 16:03:54 -0700
commit9a8577a2d19aa51318dce6ff9ffe1bd26f25c09e (patch)
tree924fe73125e20c26778dca035c0efb28842c40e3 /test/integration/api
parente072ac2fa8bc93ed782df1ff95130f4794f9640f (diff)
api: added get(:show) to identities and users, allow monitors to create/delete test & tmp users.
Diffstat (limited to 'test/integration/api')
-rw-r--r--test/integration/api/signup_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/api/signup_test.rb b/test/integration/api/signup_test.rb
index 236c547..7216496 100644
--- a/test/integration/api/signup_test.rb
+++ b/test/integration/api/signup_test.rb
@@ -1,4 +1,4 @@
-require 'test_helper'
+require_relative '../../test_helper'
require_relative 'srp_test'
class SignupTest < SrpTest
@@ -8,7 +8,7 @@ class SignupTest < SrpTest
end
test "signup response" do
- assert_json_response :login => @login, :ok => true
+ assert_json_response :login => @login, :ok => true, :id => @user.id, :enabled => true
assert last_response.successful?
end