Commit 2ed82937 authored by Phil Hughes's avatar Phil Hughes

Improved tests

parent 9efff7c2
......@@ -57,6 +57,7 @@ describe 'Board with milestone', :feature, :js do
expect(page).not_to have_css('.js-visual-token')
expect(find('.tokens-container')).not_to have_content(milestone.title)
expect(page).to have_selector('.board', count: 2)
expect(all('.board')[1]).to have_selector('.card', count: 2)
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