• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / pdc_discovery / 1eedbc4b-a89e-4e81-990b-d6c1d10c7ef0

17 Aug 2023 02:13PM UTC coverage: 92.352% (-4.2%) from 96.544%
1eedbc4b-a89e-4e81-990b-d6c1d10c7ef0

Pull #477

circleci

jrgriffiniii
noop
Pull Request #477: Ensuring that DOIs which resolve to multiple Solr Documents explicitly prefer the Solr Document indexed from PDC Describe

55 of 55 new or added lines in 2 files covered. (100.0%)

2222 of 2406 relevant lines covered (92.35%)

180.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/spec/system/styled_error_pages_spec.rb
1
# frozen_string_literal: true
2

3
describe 'Styled error page', type: :system, js: true do
1✔
4
  around do |example|
1✔
5
    Rails.application.config.consider_all_requests_local = false
2✔
6
    example.run
2✔
7
    Rails.application.config.consider_all_requests_local = true
2✔
8
  end
9

10
  it "renders for Blacklight RecordNotFound exceptions" do
1✔
11
    visit '/catalog/fake_item'
1✔
12
    expect(page).not_to have_content "Blacklight::Exceptions::RecordNotFound"
×
13
    expect(page).to have_content "We're unable to find the page you're looking for"
×
14
  end
15

16
  it "renders for generalized 404 errors" do
1✔
17
    visit '/obviously_fake_url'
1✔
18
    expect(page).to have_content "We're unable to find the page you're looking for"
×
19
  end
20
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc