Commit 76559731 authored by Eulyeon Ko's avatar Eulyeon Ko

Apply test qa reviewer suggestions

parent 3b1a8873
......@@ -64,9 +64,10 @@ RSpec.describe 'User adds milestone/iterations lists', :js do
end
it 'creates iteration column' do
add_list('Iteration', iteration_period(iteration))
period = iteration_period(iteration)
add_list('Iteration', period)
expect(page).to have_selector('.board', text: iteration.title)
expect(page).to have_selector('.board', text: period)
expect(find('.board:nth-child(2) .board-card')).to have_content(issue_with_iteration.title)
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