Skip to content

Commit

Permalink
added a test expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
Seanwarren77 committed Nov 19, 2024
1 parent e0cd07a commit d64af50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/features/catalog_view_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d64af50

Please sign in to comment.