Fix one disabled spec of comment posting.

This commit is contained in:
Fatih Acet 2018-07-20 15:50:26 +02:00
parent 98eccfc44c
commit 85b982a4c5
No known key found for this signature in database
GPG Key ID: E994FE39E29B7E11
1 changed files with 2 additions and 2 deletions

View File

@ -185,11 +185,11 @@ describe 'Merge request > User posts diff notes', :js do
end
describe 'posting a note' do
xit 'adds as discussion' do
it 'adds as discussion' do
expect(page).to have_css('.js-temp-notes-holder', count: 2)
should_allow_commenting(find('[id="6eb14e00385d2fb284765eb1cd8d420d33d63fc9_22_22"]'), asset_form_reset: false)
expect(page).to have_css('.notes_holder .note', count: 1)
expect(page).to have_css('.notes_holder .note.note-discussion', count: 1)
expect(page).to have_css('.js-temp-notes-holder', count: 1)
expect(page).to have_button('Reply...')
end