Commit d0545d47 authored by Justin Ho's avatar Justin Ho Committed by David O'Regan

Update specs with new btn-confirm

parent af60e442
...@@ -34,7 +34,7 @@ RSpec.describe 'Merge request > Batch comments', :js do ...@@ -34,7 +34,7 @@ RSpec.describe 'Merge request > Batch comments', :js do
expect(page).to have_css('.review-bar-component') expect(page).to have_css('.review-bar-component')
expect(find('.review-bar-content .btn-success')).to have_content('1') expect(find('.review-bar-content .btn-confirm')).to have_content('1')
end end
it 'publishes review' do it 'publishes review' do
...@@ -157,7 +157,7 @@ RSpec.describe 'Merge request > Batch comments', :js do ...@@ -157,7 +157,7 @@ RSpec.describe 'Merge request > Batch comments', :js do
expect(find('.new .draft-note-component')).to have_content('Line is wrong') expect(find('.new .draft-note-component')).to have_content('Line is wrong')
expect(find('.old .draft-note-component')).to have_content('Another wrong line') expect(find('.old .draft-note-component')).to have_content('Another wrong line')
expect(find('.review-bar-content .btn-success')).to have_content('2') expect(find('.review-bar-content .btn-confirm')).to have_content('2')
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