From 0614cf19542a27ec232a69ab672242310d1b7733 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 27 Sep 2016 14:46:39 +0300 Subject: [PATCH] Add extra check for api users spec Signed-off-by: Dmitriy Zaporozhets --- spec/requests/api/users_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/requests/api/users_spec.rb b/spec/requests/api/users_spec.rb index c5a1cdf8c32..f4ea3bebb4c 100644 --- a/spec/requests/api/users_spec.rb +++ b/spec/requests/api/users_spec.rb @@ -62,6 +62,7 @@ describe API::API, api: true do expect(response).to have_http_status(200) expect(json_response).to be_an Array expect(json_response.first.keys).to include 'email' + expect(json_response.first.keys).to include 'organization' expect(json_response.first.keys).to include 'identities' expect(json_response.first.keys).to include 'can_create_project' expect(json_response.first.keys).to include 'two_factor_enabled'