Commit d01a03b3 authored by Clement Ho's avatar Clement Ho

Fix sidebar spec

parent 16e21ed1
...@@ -162,7 +162,7 @@ describe 'Issue Boards', feature: true, js: true do ...@@ -162,7 +162,7 @@ describe 'Issue Boards', feature: true, js: true do
expect(card).to have_selector('.avatar') expect(card).to have_selector('.avatar')
end end
it 'resets assignee dropdown' do it 'updates assignee dropdown' do
click_card(card) click_card(card)
page.within('.assignee') do page.within('.assignee') do
...@@ -186,7 +186,7 @@ describe 'Issue Boards', feature: true, js: true do ...@@ -186,7 +186,7 @@ describe 'Issue Boards', feature: true, js: true do
page.within('.assignee') do page.within('.assignee') do
click_link 'Edit' click_link 'Edit'
expect(page).not_to have_selector('.is-active') expect(page).to have_selector('.is-active')
end end
end 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