diff --git a/spec/features/catalog_view_spec.rb b/spec/features/catalog_view_spec.rb index cf2e57d3..319820d6 100644 --- a/spec/features/catalog_view_spec.rb +++ b/spec/features/catalog_view_spec.rb @@ -136,7 +136,9 @@ it "lets someone click on the access restrictions badge", js: true do visit "/catalog/AC136_c2889" click_on "Restrictions may apply. See Access Note." - expect(page).to have_content("Access & Use") + # most of the access fields are also included on the main collection page + # used Location: because it was only showing on this tab + expect(page).to have_content("Location:") end end context "with a no-digital-content collection show page" do