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

curationexperts / epigaea / 1871
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: turbolinks-batch-fix
DEFAULT BRANCH: master
Ran 07 Dec 2017 08:25PM UTC
Jobs 1
Files 176
Run time 8s
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
1871

push

travis-ci

little9
Fix the default Hyrax batch create work forms

This commit fixes the batch create work forms by setting the
`Hyrax::Forms::BatchUploadForm.terms` variable to the terms
that we use in forms via an initializer. The `_form_metadata` partial
has also been tweaked so that it displays properly on the batch
create work pages.

This is tested  with a feature spec that adds a `Pdf` work via the
batch upload form.

This removes the `_form_metadata` view specs and shared examples in favor of checking for the transcript UI in the Audio / Video feature specs and checking that the transcript UI doesn't show up in the create Pdf feature spec. The create Pdf / Audio / Video feature specs are already being run and this replaces the 40+ lines of view specs with 3 lines of additional expectations in the feature specs.

I think that it is important to keep the default Hyrax batch new work features working.

Fixes #641

2316 of 2595 relevant lines covered (89.25%)

67.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1871.1 (2.3.4) 07 Dec 2017 08:25PM UTC 0
89.25
Travis Job 1871.1
Source Files on build 1871
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1871
  • 604d4ae5 on github
  • Prev Build on fix/batch-create-forms (#1867)
  • Next Build on fix/batch-create-forms (#1874)
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