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

uclibs / ucrate / 787d5448-b8ee-4a3a-aeac-8334700816c8

31 Oct 2024 06:18PM UTC coverage: 55.485% (-2.8%) from 58.257%
787d5448-b8ee-4a3a-aeac-8334700816c8

push

circleci

web-flow
Hotfix/bulkrax (#1167)

* Arranges fields in Bulkrax initializer.

* Adds more metadata to collections manifest.

---------

Co-authored-by: Thomas Scherz <scherztc@ucmail.uc.edu>

0 of 2 new or added lines in 1 file covered. (0.0%)

549 existing lines in 44 files now uncovered.

2099 of 3783 relevant lines covered (55.49%)

52.08 hits per line

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

52.63
/app/controllers/classify_concerns_controller.rb
1
# frozen_string_literal: true
2
class ClassifyConcernsController < ApplicationController
1✔
3
  include Hyrax::ThemedLayoutController
1✔
4
  with_themed_layout '1_column'
1✔
5
  before_action :auth_shib_user!
1✔
6
  load_and_authorize_resource
1✔
7

8
  add_breadcrumb 'Submit a work', (->(controller) { controller.request.path })
17✔
9

10
  attr_reader :classify_concern
1✔
11
  helper_method :classify_concern
1✔
12

13
  def new; end
1✔
14

15
  def create
1✔
UNCOV
16
    classify_concern.attributes = params[:classify_concern]
×
UNCOV
17
    if classify_concern.valid?
×
UNCOV
18
      respond_to do |wants|
×
UNCOV
19
        wants.html do
×
UNCOV
20
          redirect_to new_polymorphic_path(
×
21
            [:curation_concerns, classify_concern.curation_concern_class]
22
          )
23
        end
UNCOV
24
        wants.json { render_json_response(response_type: :created, options: { location: polymorphic_path([main_app, :curation_concerns, curation_concern]) }) }
×
25
      end
26
    else
27
      respond_to do |wants|
×
28
        wants.html { render 'new', status: :unprocessable_entity }
×
29
        wants.json { render_json_response(response_type: :unprocessable_entity, message: curation_concern.errors.messages) }
×
30
      end
31
    end
32
  end
33
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