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

curationexperts / laevigata / bdf6d3d6-82b8-444f-9f9f-c22e6173d7ee

08 May 2026 06:24PM UTC coverage: 97.443%. Remained the same
bdf6d3d6-82b8-444f-9f9f-c22e6173d7ee

push

circleci

web-flow
Merge pull request #2523 from curationexperts/update_node

Update browser testing database

2782 of 2855 relevant lines covered (97.44%)

49.74 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