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

projecthydra / active_fedora / 2124 / 1
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v9.7.3
DEFAULT BRANCH: master
Ran 01 Apr 2015 07:41PM UTC
Files 107
Run time 6s
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 07:34PM UTC coverage: 92.908%. Remained the same
2.2, gemfiles/rails4.1.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 class. 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.48 hits per line

Source Files on job 2124.1 (2.2, gemfiles/rails4.1.gemfile)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2124
  • Travis Job 2124.1
  • 40ccbadd on github
  • Prev Job for 2.2, gemfiles/rails4.1.gemfile on detect_model_mismatch (#2121.1)
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