Fix spec for Projects::Boards::ListsController

This commit is contained in:
Douglas Barbosa Alexandre 2017-01-27 03:25:16 -02:00 committed by Fatih Acet
parent 860fafee13
commit 79a132a38d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"],