summaryrefslogtreecommitdiff
path: root/spec/requests/api/pages_domains_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/api/pages_domains_spec.rb')
-rw-r--r--spec/requests/api/pages_domains_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/api/pages_domains_spec.rb b/spec/requests/api/pages_domains_spec.rb
index d412b045e9f..5d01dc37f0e 100644
--- a/spec/requests/api/pages_domains_spec.rb
+++ b/spec/requests/api/pages_domains_spec.rb
@@ -46,6 +46,7 @@ describe API::PagesDomains do
expect(json_response).to be_an Array
expect(json_response.size).to eq(3)
expect(json_response.last).to have_key('domain')
+ expect(json_response.last).to have_key('project_id')
expect(json_response.last).to have_key('certificate_expiration')
expect(json_response.last['certificate_expiration']['expired']).to be true
expect(json_response.first).not_to have_key('certificate_expiration')