Commit 6d78048b authored by Stan Hu's avatar Stan Hu

Fix failing spec in ./ee/spec/controllers/projects/jobs_controller_spec.rb

parent b6824473
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
{ "$ref": "../../../../../../spec/fixtures/api/schemas/job/job_details.json" }, { "$ref": "../../../../../../spec/fixtures/api/schemas/job/job_details.json" },
{ {
"properties": { "properties": {
"runner": { "$ref": "runner.json" } "runner": { "$ref": "runner.json" },
"runners": { "$ref": "runners.json" }
} }
} }
] ]
......
{
"type": "object",
"properties": {
"quota": {
"description": "Quota information that is only shown for shared runners.",
"type": "object",
"required": [
"used",
"limit"
],
"properties": {
"used": { "type": "integer" },
"limit": { "type": "integer" }
},
"additionalProperties": false
}
}
}
...@@ -8,6 +8,5 @@ ...@@ -8,6 +8,5 @@
"online": { "type": "boolean" }, "online": { "type": "boolean" },
"available": { "type": "boolean" }, "available": { "type": "boolean" },
"settings_path": { "type": "string" } "settings_path": { "type": "string" }
}, }
"additionalProperties": false
} }
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