Fix spec for Projects::Boards::ListsController
This commit is contained in:
parent
860fafee13
commit
79a132a38d
|
|
@ -27,7 +27,7 @@ describe Projects::Boards::ListsController do
|
||||||
parsed_response = JSON.parse(response.body)
|
parsed_response = JSON.parse(response.body)
|
||||||
|
|
||||||
expect(response).to match_response_schema('lists')
|
expect(response).to match_response_schema('lists')
|
||||||
expect(parsed_response.length).to eq 3
|
expect(parsed_response.length).to eq 2
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'with unauthorized user' do
|
context 'with unauthorized user' do
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
"id": { "type": "integer" },
|
"id": { "type": "integer" },
|
||||||
"list_type": {
|
"list_type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["backlog", "label", "done"]
|
"enum": ["label", "done"]
|
||||||
},
|
},
|
||||||
"label": {
|
"label": {
|
||||||
"type": ["object", "null"],
|
"type": ["object", "null"],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue