spec/features/layer_inspection_spec.rb in geoblacklight-1.5.1 vs spec/features/layer_inspection_spec.rb in geoblacklight-1.6.0
- old
+ new
@@ -2,9 +2,9 @@
feature 'Layer inspection', js: true do
scenario 'clicking map should trigger inspection' do
visit solr_document_path('mit-us-ma-e25zcta5dct-2000')
expect(page).to have_css('th', text: 'Attribute')
- find('#map').trigger('click')
+ find('#map').click
expect(page).not_to have_css('td.default-text')
end
end