spec/features/batch_edit_spec.rb in hyrax-2.1.0.beta1 vs spec/features/batch_edit_spec.rb in hyrax-2.1.0.beta2
- old
+ new
@@ -63,9 +63,10 @@
end
describe 'deleting' do
it 'destroys the selected works' do
accept_confirm { click_button 'Delete Selected' }
+ expect(page).to have_content('Batch delete complete')
expect(GenericWork.count).to be_zero
end
end
end