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

curationexperts / laevigata / d03a61f8-b7af-4648-a986-d83a1a38b79c

22 Jun 2026 03:16AM UTC coverage: 97.443%. Remained the same
d03a61f8-b7af-4648-a986-d83a1a38b79c

push

circleci

web-flow
Merge pull request #2530 from curationexperts/emory_departments

Change Emory College department name

2782 of 2855 relevant lines covered (97.44%)

49.75 hits per line

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

100.0
/app/validators/my_program_validator.rb
1
class MyProgramValidator < ActiveModel::Validator
4✔
2
  def validate(record)
4✔
3
    return unless record.current_tab == "My Program"
101✔
4
    fields_to_validate = ::Hyrax::EtdForm.my_program_terms - [:partnering_agency]
3✔
5
    fields_to_validate.each do |field|
3✔
6
      next if field == :subfield # Subfields are not currently required
12✔
7
      record.errors.add(field, "#{field} is required") if record.data[field.to_s].blank?
9✔
8
    end
9
  end
10
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