updated tests for !29553

This commit is contained in:
Michel Engelen 2019-06-12 16:07:49 +02:00 committed by Michel Engelen
parent 4cb99ffa28
commit 0ee03c9a81

View file

@ -186,12 +186,12 @@ describe 'User comments on a diff', :js do
it 'resolves discussion when applied' do
page.within('.diff-discussions') do
expect(page).not_to have_content('Unresolve discussion')
expect(page).not_to have_content('Unresolve thread')
click_button('Apply suggestion')
wait_for_requests
expect(page).to have_content('Unresolve discussion')
expect(page).to have_content('Unresolve thread')
end
end
end