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

IUBLibTech / datacore / 476c25af-faec-43c9-aa9e-dce1dde58500

08 Sep 2025 08:05PM UTC coverage: 28.799% (+0.6%) from 28.184%
476c25af-faec-43c9-aa9e-dce1dde58500

Pull #171

circleci

rdlebeau
[IUS-2613] additional DataCORE actor unit tests
Pull Request #171: [IUS-2613] additional DataCORE actor unit tests

1 of 1 new or added line in 1 file covered. (100.0%)

497 existing lines in 21 files now uncovered.

4245 of 14740 relevant lines covered (28.8%)

3.25 hits per line

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

41.18
/app/controllers/concerns/deepblue/works_controller_behavior.rb
1
# frozen_string_literal: true
2

3
module Deepblue
1✔
4

5
  module WorksControllerBehavior
1✔
6
    extend ActiveSupport::Concern
1✔
7
    #in umrdr
8
    #include Hyrax::Controller
9
    include Hyrax::WorksControllerBehavior
1✔
10
    include Deepblue::ControllerWorkflowEventBehavior
1✔
11

12
    def after_update_response
1✔
13
      if curation_concern.file_sets.present?
×
14
        return redirect_to main_app.copy_access_hyrax_permission_path(curation_concern)  if permissions_changed?
×
UNCOV
15
        return redirect_to main_app.confirm_hyrax_permission_path(curation_concern) if curation_concern.visibility_changed?
×
16
      end
17
      respond_to do |wants|
×
18
        wants.html { redirect_to [main_app, curation_concern], notice: "Work \"#{curation_concern}\" successfully updated." }
×
UNCOV
19
        wants.json { render :show, status: :ok, location: polymorphic_path([main_app, curation_concern]) }
×
20
      end
21
    end
22

23
    # override curation concerns, add form fields values
24
    def build_form
1✔
UNCOV
25
      super
×
26
      # Set up the multiple parameters for the date coverage attribute in the form
27
      cov_date = Date.edtf(@form.date_coverage)
×
28
      cov_params = Dataset::DateCoverageService.interval_to_params cov_date
×
UNCOV
29
      @form.merge_date_coverage_attributes! cov_params
×
30
    end
31

32
  end
33

34
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

© 2026 Coveralls, Inc