Commit a3daceab authored by Rémy Coutable's avatar Rémy Coutable

Fix JSON schemas related issues

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 6cce4d18
......@@ -19,3 +19,4 @@ app/models/project_services/kubernetes_service.rb
ee/db/**/*
ee/app/serializers/ee/merge_request_widget_entity.rb
ee/lib/ee/gitlab/ldap/sync/admin_users.rb
ee/spec/**/*
......@@ -32,7 +32,7 @@
"last_deployment": {
"oneOf": [
{
"$ref": "deployment.json"
"$ref": "../../../../../spec/fixtures/api/schemas/deployment.json"
},
{
"type": ["null"]
......
......@@ -60,7 +60,7 @@ describe Projects::EnvironmentsController do
end
it 'responds with matching schema' do
expect(response).to match_response_schema('environments')
expect(response).to match_response_schema('environments', dir: 'ee')
end
it 'responds with a payload describing available environments' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment