spec/features/javascript/reindex_monitor_spec.rb in blacklight-spotlight-2.13.0 vs spec/features/javascript/reindex_monitor_spec.rb in blacklight-spotlight-3.0.0.alpha.1
- old
+ new
@@ -12,11 +12,11 @@
login_as exhibit_curator
visit spotlight.admin_exhibit_catalog_path(exhibit)
end
it 'is rendered on the item admin page' do
- expect(page).to have_css('.panel.index-status', visible: true)
- within('.panel.index-status') do
+ expect(page).to have_css('.card.index-status', visible: true)
+ within('.card.index-status') do
expect(page).to have_css('p', text: /Began reindexing a total of \d+ items/)
expect(page).to have_css('p', text: /Reindexed \d+ of \d+ items/)
end
end
end