Commit 45da02f9 authored by Phil Hughes's avatar Phil Hughes

fixed spec/features/merge_requests/user_posts_notes_spec.rb

parent d2561680
...@@ -141,7 +141,7 @@ describe 'Merge requests > User posts notes', :js do ...@@ -141,7 +141,7 @@ describe 'Merge requests > User posts notes', :js do
end end
it 'removes the attachment div and resets the edit form' do 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('.note-attachment')
is_expected.not_to have_css('.current-note-edit-form') is_expected.not_to have_css('.current-note-edit-form')
wait_for_requests wait_for_requests
......
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