From d64af50d605cdd37ac9166a8eff07b01ea695691 Mon Sep 17 00:00:00 2001 From: Sean Warren Date: Tue, 19 Nov 2024 14:37:16 -0500 Subject: [PATCH] added a test expectation --- spec/features/catalog_view_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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