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

curationexperts / epigaea / 2406
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: turbolinks-batch-fix
DEFAULT BRANCH: master
Ran 03 Jan 2018 08:57PM UTC
Jobs 1
Files 183
Run time 10s
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
2406

push

travis-ci

bess
Fix for adding a work to a collection

This test was failing because when HydraEditor runs the
'build_permitted_params' method, the method call
'multiple?(:member_of_collection_ids)' was returning false when it
should return true. This caused that field to be stripped from
the params that are passed to the actor stack, so they never
reach CollectionsMembershipActor.

The problem is fixed by correcting the inheritance of
Tufts::MetadataService so that it inherits from Hyrax, which
in turn inherits from HydraEditor. Crucially,
Hyrax::FormMetadataService, the step in the inheritance
chain that was previously being skipped,  is the place
where :member_of_collection_ids gets defined as multiple.

Hyrax::FormMetadataService also assumes that :rights_statement
is singular, whereas Tufts expects it to be plural, so we
also need to override that setting.

2503 of 2784 relevant lines covered (89.91%)

116.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2406.1 (2.3.4) 03 Jan 2018 08:57PM UTC 0
89.91
Travis Job 2406.1
Source Files on build 2406
  • Tree
  • List 0
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #2406
  • 4f42cee2 on github
  • Prev Build on bugfix/adding_work_to_collection (#2398)
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

© 2025 Coveralls, Inc