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

projecthydra / active_fedora / 2124
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v9.7.3
DEFAULT BRANCH: master
Ran 01 Apr 2015 07:41PM UTC
Jobs 3
Files 107
Run time 5min
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
2124

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

835.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2124.1 (2.2, gemfiles/rails4.1.gemfile) 01 Apr 2015 07:41PM UTC 0
92.91
Travis Job 2124.1
2 2124.2 (2.2, gemfiles/rails4.2.gemfile) 01 Apr 2015 07:41PM UTC 0
92.91
Travis Job 2124.2
3 2124.3 (2.1, gemfiles/rails4.2.gemfile) 01 Apr 2015 07:46PM UTC 0
92.91
Travis Job 2124.3
Source Files on build 2124
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2124
  • 40ccbadd on github
  • Prev Build on detect_model_mismatch (#2121)
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