Commit 425dda9c authored by Rémy Coutable's avatar Rémy Coutable

Reduce CE/EE diff in spec/controllers/projects/boards_controller_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent a097c137
...@@ -45,8 +45,7 @@ describe Projects::BoardsController do ...@@ -45,8 +45,7 @@ describe Projects::BoardsController do
context 'when format is JSON' do context 'when format is JSON' do
it 'returns a list of project boards' do it 'returns a list of project boards' do
create(:board, project: project, milestone: create(:milestone, project: project)) create_list(:board, 2, project: project)
create(:board, project: project, milestone_id: Milestone::Upcoming.id)
list_boards format: :json list_boards format: :json
......
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