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

curationexperts / laevigata / bb36557b-6aa0-47ec-95b8-e9eaee81057c

04 May 2026 02:22AM UTC coverage: 97.444%. Remained the same
bb36557b-6aa0-47ec-95b8-e9eaee81057c

push

circleci

web-flow
Merge pull request #2510 from curationexperts/deactivate_depts

Display degree on Review Submissions page

2783 of 2856 relevant lines covered (97.44%)

49.81 hits per line

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

100.0
/app/validators/embargo_validator.rb
1
class EmbargoValidator < ActiveModel::Validator
4✔
2
  def validate(record)
4✔
3
    return unless record.current_tab == "Embargo"
101✔
4
    # TODO: the embargo form will send 'no' values by default,
5
    # but this tab hasn't been built to conform to the wireframes yet.
6
    # when it is this validator will check for actual values.
7
    # ::Hyrax::EtdForm.embargo_terms.each do |field|
8
    #   record.errors.add(field, "#{field} is required") if parsed_data(record)[field.to_s].blank?
9
    # end
10
  end
11
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