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

pulibrary / pdc_discovery / d736ff91-d543-4530-a84d-5d91200b6783

03 Nov 2023 05:30PM UTC coverage: 93.662% (-3.3%) from 96.965%
d736ff91-d543-4530-a84d-5d91200b6783

push

circleci

jrgriffiniii
wip

10 of 11 new or added lines in 1 file covered. (90.91%)

91 existing lines in 15 files now uncovered.

2601 of 2777 relevant lines covered (93.66%)

178.74 hits per line

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

61.9
/spec/system/front_page_spec.rb
1
# frozen_string_literal: true
2

3
describe 'Application landing page', type: :system do
1✔
4
  let(:feed_docs) do
1✔
5
    docs = []
1✔
6
    docs << SolrDocument.new({ id: "84912", genre_ssim: ["Dataset"] })
1✔
7
    docs << SolrDocument.new({ id: "90553", genre_ssim: ["moving image"] })
1✔
8
    docs << SolrDocument.new({ id: "84484", genre_ssim: [nil] })
1✔
9
  end
10

11
  it "renders Bootstrap icons for Recently added feed items" do
1✔
12
    allow(RecentlyAdded).to receive(:feed).and_return(feed_docs)
1✔
13
    visit '/'
1✔
UNCOV
14
    expect(page).to have_css 'li#recently-added-84912 i.bi-stack'
×
UNCOV
15
    expect(page).to have_css 'li#recently-added-90553 i.bi-film'
×
UNCOV
16
    expect(page).to have_css 'li#recently-added-84484 i.bi-file-earmark-fill'
×
17
  end
18

19
  it "has a footer with latest deploy information" do
1✔
20
    visit '/'
1✔
UNCOV
21
    expect(page).to have_content "last updated"
×
22
  end
23

24
  it "has a header with links to helpful info" do
1✔
25
    visit '/'
1✔
UNCOV
26
    expect(page).to have_link "Home", href: "/"
×
UNCOV
27
    expect(page).to have_link "About", href: "/about"
×
UNCOV
28
    expect(page).to have_link "How to Submit", href: "/submit"
×
UNCOV
29
    expect(page).to have_link "Accessibility", href: "https://accessibility.princeton.edu/help"
×
30
  end
31
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