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

curationexperts / epigaea / 2392
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: turbolinks-batch-fix
DEFAULT BRANCH: master
Ran 03 Jan 2018 03:31PM 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
2392

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

2501 of 2782 relevant lines covered (89.9%)

116.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2392.1 (2.3.4) 03 Jan 2018 03:31PM UTC 0
89.9
Travis Job 2392.1
Source Files on build 2392
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2392
  • a9328036 on github
  • Next Build on bugfix/adding_work_to_collection (#2395)
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