spec/features/javascript/metadata_admin_spec.rb in blacklight-spotlight-2.0.2 vs spec/features/javascript/metadata_admin_spec.rb in blacklight-spotlight-2.1.0
- old
+ new
@@ -1,8 +1,9 @@
feature 'Metadata Administration', js: true do
let(:exhibit) { FactoryBot.create(:exhibit) }
let(:admin) { FactoryBot.create(:exhibit_admin, exhibit: exhibit) }
before { login_as admin }
+
describe 'Select/Deselect all button' do
it 'deselects all checkboxes when all are selected' do
visit spotlight.edit_exhibit_metadata_configuration_path exhibit
# No checkboxes should be unchecked
expect(page).not_to have_css("tr td:nth-child(2) input[type='checkbox']:not(:checked)")