Find dropdown-menu before asserting active item in sidebar_spec.rb

This commit is contained in:
Luke "Jared" Bennett 2017-05-10 13:44:13 +00:00
parent d2df134f9e
commit 938b5bb402

View file

@ -164,7 +164,7 @@ describe 'Issue Boards', feature: true, js: true do
page.within('.assignee') do
click_link 'Edit'
expect(page).to have_selector('.is-active')
expect(find('.dropdown-menu')).to have_selector('.is-active')
end
end
end