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

pulibrary / pdc_discovery / d4e0f429-48ab-46c0-b837-27bacddd2a41

24 Apr 2024 06:43PM UTC coverage: 92.63% (-4.4%) from 97.039%
d4e0f429-48ab-46c0-b837-27bacddd2a41

Pull #614

circleci

leefaisonr
Remove firefox from ci

Co-authored-by: Bess Sadler <bess@users.noreply.github.com>
Pull Request #614: Remove firefox from ci

2878 of 3107 relevant lines covered (92.63%)

495.74 hits per line

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

78.95
/spec/system/globus_item_metadata_spec.rb
1
# frozen_string_literal: true
2

3
describe 'Item page with Globus download integration', type: :system, js: true do
1✔
4
  let(:globus_fixtures) { File.read(File.join(fixture_path, 'globus_items.xml')) }
10✔
5
  let(:indexer) do
1✔
6
    DspaceIndexer.new(globus_fixtures)
9✔
7
  end
8

9
  before do
1✔
10
    Blacklight.default_index.connection.delete_by_query("*:*")
9✔
11
    Blacklight.default_index.connection.commit
9✔
12
    indexer.index
9✔
13
  end
14

15
  it "displays the Globus download button when the integration is present" do
1✔
16
    visit '/catalog/88163'
3✔
17
    expect(page).to have_content "Download from Globus"
×
18
  end
19

20
  it "does not display the Globus download button when the integration is not present" do
1✔
21
    visit '/catalog/6517'
3✔
22
    expect(page).not_to have_content "Download from Globus"
×
23
  end
24

25
  context "when there are no files in DataSpace" do
1✔
26
    it "displays the Globus button but not the file listing" do
1✔
27
      visit '/catalog/101010'
3✔
28
      expect(page).to have_content "Download from Globus"
×
29
      expect(page).not_to have_content "Showing 0 to 0 of 0 entries"
×
30
    end
31
  end
32
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