diff options
author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-08-16 09:51:27 +0300 |
---|---|---|
committer | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-08-18 22:10:52 +0300 |
commit | 39c71a19c468736a94f642173a54bf72b2dc1689 (patch) | |
tree | a6fe1f44cf9ab8e54c5398613d8643bf32023f13 /spec/requests/api/environments_spec.rb | |
parent | 47d6f286eb565ae582def5a28af2cb450b2ee479 (diff) |
Expose project for environments
Diffstat (limited to 'spec/requests/api/environments_spec.rb')
-rw-r--r-- | spec/requests/api/environments_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/api/environments_spec.rb b/spec/requests/api/environments_spec.rb index 05e57905343..1898b07835d 100644 --- a/spec/requests/api/environments_spec.rb +++ b/spec/requests/api/environments_spec.rb @@ -26,6 +26,7 @@ describe API::API, api: true do expect(json_response.size).to eq(1) expect(json_response.first['name']).to eq(environment.name) expect(json_response.first['external_url']).to eq(environment.external_url) + expect(json_response.first['project']['id']).to eq(project.id) end end |