Add extra check for api users spec
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
c17383a730
commit
0614cf1954
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue