Disable Sidekiq in spec to prevent transient build failures

This commit is contained in:
Stan Hu 2017-05-16 13:54:41 -07:00
parent 67312fceaa
commit 072de2c2ad

View file

@ -34,11 +34,13 @@ feature 'Merge immediately', :feature, :js do
page.within '.mr-widget-body' do
find('.dropdown-toggle').click
click_link 'Merge immediately'
Sidekiq::Testing.fake! do
click_link 'Merge immediately'
expect(find('.accept-merge-request.btn-info')).to have_content('Merge in progress')
expect(find('.accept-merge-request.btn-info')).to have_content('Merge in progress')
wait_for_ajax
wait_for_ajax
end
end
end
end