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) | ||||
| 
 | ||||
|       expect(response).to match_response_schema('lists') | ||||
|       expect(parsed_response.length).to eq 3 | ||||
|       expect(parsed_response.length).to eq 2 | ||||
|     end | ||||
| 
 | ||||
|     context 'with unauthorized user' do | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ | |||
|     "id": { "type": "integer" }, | ||||
|     "list_type": { | ||||
|       "type": "string", | ||||
|       "enum": ["backlog", "label", "done"] | ||||
|       "enum": ["label", "done"] | ||||
|     }, | ||||
|     "label": { | ||||
|       "type": ["object", "null"], | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue