Add Boards::ListService service to list project boards

parent cda019b7
......@@ -29,9 +29,10 @@ describe Boards::ListService, services: true do
end
it 'returns project boards' do
board = create(:board, project: project)
board1 = create(:board, project: project)
board2 = create(:board, project: project)
expect(service.execute).to match_array [board]
expect(service.execute).to match_array [board1, board2]
end
end
end
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