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

benwbrum / fromthepage / 16709923910
68%

Build:
DEFAULT BRANCH: development
Ran 03 Aug 2025 10:31PM UTC
Jobs 1
Files 207
Run time 1497min
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

03 Aug 2025 10:06PM UTC coverage: 64.387% (+0.08%) from 64.312%
16709923910

push

github

web-flow
Redirect restricted collection views to landing page instead of showing errors (#4789)

* Initial plan

* Implement redirect from restricted views to collection landing page

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix test expectations for search_users and transcribe controller

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix collection authorization: make works_list public and protect edit_buttons

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix failing spec tests: correct route helper names and update works_list test expectations

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Add authorization tests for edit routes to ensure non-owners are redirected

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix authorization method to use proper redirects for HTML requests

The authorized? method now uses respond_to format blocks to ensure:
- HTML requests get proper 3xx status redirects via redirect_to
- AJAX requests get special handling via ajax_redirect_to

This fixes the failing spec tests that expected 3xx redirects for non-owner users accessing restricted collection actions.

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix authorization order: set_collection before authorized? for edit actions

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix failing feature tests by correcting test setup and authorization logic

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix document sets test setup to properly initialize collection state

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix failing feature tests by adjusting UI access and test setup

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Merge development branch and fix failing test setup

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github... (continued)

1780 of 3296 branches covered (54.0%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 2 files covered. (100.0%)

7947 of 11811 relevant lines covered (67.28%)

102.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16709923910.1 03 Aug 2025 10:31PM UTC 207
64.39
GitHub Action Run
Source Files on build 16709923910
  • Tree
  • List 207
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16709923910
  • 91212bd2 on github
  • Prev Build on development (#16705805208)
  • Next Build on development (#16777920710)
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