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

curationexperts / epigaea / 2391
90%
master: 90%

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

push

travis-ci

bess
[squash me] Failing test for adding a work to a collection

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

I can get this test to pass by hard-coding the return value in
hydra-editor, but obviously that's not the right solution:

      def build_permitted_params
        permitted = []
        terms.each do |term|
          if multiple?(term)
            permitted << { term => [] }
          elsif term == :member_of_collection_ids
            permitted << { term => [] }
          else
            permitted << term
          end
        end
        permitted
      end

2509 of 2792 relevant lines covered (89.86%)

116.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2391.1 (2.3.4) 03 Jan 2018 03:27PM UTC 0
89.86
Travis Job 2391.1
Source Files on build 2391
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2391
  • ee0eb35e on github
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