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

projecthydra / active_fedora / 2121
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v9.7.3
DEFAULT BRANCH: master
Ran 01 Apr 2015 05:59PM UTC
Jobs 3
Files 107
Run time 17s
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

pending completion
2121

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%)

835.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2121.1 (2.2, gemfiles/rails4.1.gemfile) 01 Apr 2015 05:59PM UTC 0
92.91
Travis Job 2121.1
2 2121.2 (2.2, gemfiles/rails4.2.gemfile) 01 Apr 2015 05:59PM UTC 0
92.91
Travis Job 2121.2
3 2121.3 (2.1, gemfiles/rails4.2.gemfile) 01 Apr 2015 05:59PM UTC 0
92.91
Travis Job 2121.3
Source Files on build 2121
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2121
  • 7d98377e on github
  • Next Build on detect_model_mismatch (#2124)
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