spec/features/layer_inspection_spec.rb in geoblacklight-0.12.1 vs spec/features/layer_inspection_spec.rb in geoblacklight-1.0.0.pre1
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
feature 'Layer inspection', js: true do
scenario 'clicking map should trigger inspection' do
- visit catalog_path('mit-us-ma-e25zcta5dct-2000')
+ visit solr_document_path('mit-us-ma-e25zcta5dct-2000')
expect(page).to have_css('th', text: 'Attribute')
find('#map').trigger('click')
- expect(page).to_not have_css('td.default-text')
+ expect(page).not_to have_css('td.default-text')
end
end