fixed spec/features/merge_requests/user_posts_notes_spec.rb

This commit is contained in:
Phil Hughes 2017-09-27 13:46:48 +01:00
parent d2561680d0
commit 45da02f9ab
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ describe 'Merge requests > User posts notes', :js do
end
it 'removes the attachment div and resets the edit form' do
find('.js-note-attachment-delete').click
accept_confirm { find('.js-note-attachment-delete').click }
is_expected.not_to have_css('.note-attachment')
is_expected.not_to have_css('.current-note-edit-form')
wait_for_requests