Commit 428ffaad authored by Rémy Coutable's avatar Rémy Coutable

Try to use the same pattern as other spec in this file

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 75d425e4
...@@ -249,11 +249,11 @@ describe 'Issue Boards', feature: true, js: true do ...@@ -249,11 +249,11 @@ describe 'Issue Boards', feature: true, js: true do
it 'issue moves from closed' do it 'issue moves from closed' do
drag(list_from_index: 3, list_to_index: 2) drag(list_from_index: 3, list_to_index: 2)
expect(find('.board:nth-child(3)')).to have_content(issue8.title)
wait_for_board_cards(2, 8) wait_for_board_cards(2, 8)
wait_for_board_cards(3, 3) wait_for_board_cards(3, 3)
wait_for_board_cards(4, 0) wait_for_board_cards(4, 0)
expect(find('.board:nth-child(3)')).to have_content(issue8.title)
end end
context 'issue card' do context 'issue card' do
......
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