summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeAndre Harris <dharris@gitlab.com>2019-02-25 19:55:08 +0000
committerDeAndre Harris <dharris@gitlab.com>2019-02-25 19:55:08 +0000
commit45456664f37e35adfcac2c1cfb0f4ee834eb02cd (patch)
tree6e4870cbb52d2361ded9933bb3aa1cde6a7f4ce6
parent486c449b6b766d4f78e99038ad62e71d206d2d8c (diff)
downloadgitlab-ce-49948-return-secondary-emails-when-an-admin-calls-users-api.tar.gz
-rw-r--r--spec/requests/api/users_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/requests/api/users_spec.rb b/spec/requests/api/users_spec.rb
index 282c137f4ba..f0c9c130118 100644
--- a/spec/requests/api/users_spec.rb
+++ b/spec/requests/api/users_spec.rb
@@ -127,7 +127,6 @@ describe API::Users do
get api("/users", admin)
expect(response).to match_response_schema('public_api/v4/user/admin')
- expect(json_response.first.keys).to include 'secondary_emails'
end
end
end