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

projecthydra / active_fedora / 2121 / 3
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v9.7.3
DEFAULT BRANCH: master
Ran 01 Apr 2015 05:59PM UTC
Files 107
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Apr 2015 03:56PM UTC coverage: 92.908%. First build
2.1, gemfiles/rails4.2.gemfile

push

travis-ci

hectorcorrea
Prevents an object from being loaded to the incorrect class. For example, when loading a batch object it should be loaded into a Batch (and not a File for example.)

Loading an object to the incorrect class could result in loss of data when saving the object back. For example, loading a File into a Batch and then saving the Batch will blow away all the properties of the File that were not present in the Batch (which would be the majority.)

The current version of the code still allows an object to be loaded into a parent classi. For example, a BigFile object could be loaded into a File object as long as BigFile is a subclass of File. This could still result in loss of data but I wasn't sure I wanted to be too restrictive so I am leaving this open for now. We might want to prevent this altogether in the future.

3786 of 4075 relevant lines covered (92.91%)

278.5 hits per line

Source Files on job 2121.3 (2.1, gemfiles/rails4.2.gemfile)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2121
  • Travis Job 2121.3
  • 7d98377e on github
  • Next Job for 2.1, gemfiles/rails4.2.gemfile on detect_model_mismatch (#2124.3)
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