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

MushroomObserver / mushroom-observer / 26789689542
97%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2026 12:06AM UTC
Jobs 1
Files 1207
Run time 2min
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

02 Jun 2026 12:01AM UTC coverage: 96.777% (+0.2%) from 96.608%
26789689542

push

github

web-flow
Coverage gaps: delete dead form/panel helpers, fix Herbarium#order_by_user (#4419)

Closes the largest non-Tab coverage regressions flagged by coveralls.
Same dead-delegator pattern as the Tab POROs PR: most of the gap is
unreachable helper methods that lost callers without being deleted.

forms_helper.rb (-61 missing diff)

Delete 6 public helpers with zero production callers (verified
across app/ + test/):
- check_button_with_label
- radio_button_with_label
- date_select_with_label
- read_only_field_with_label
- static_text_with_label
- url_field_with_label

Delete their internal-only date helpers transitively
(date_field_inputs_div / day_select / month_select / year_input
/ param_name / selected_value — 6 more methods, only called from
the deleted date_select_with_label).

panel_helper.rb (-8 missing diff)

Simplify two helpers to the shape callers actually use:
- help_block_with_arrow: drop the `mobile:` knob (no production
  caller passes it — the arrow is always xs-hidden). Combined
  branch keeps the only two real shapes (direction + no-direction).
- collapse_help_block: drop direction handling and the string-
  argument form (only one production caller, passes block + no
  direction). Updated the caller in forms_helper.rb to match the
  slimmed signature.

Herbarium#order_by_user fix (-6 missing diff, was a broken override)

The original PR (#4414) defined `scope :order_by_user, lambda { ... }`,
but AbstractModel's Query dispatcher checks
`model.private_methods(false).include?(:order_by_user)` — public
scopes don't match, so the override silently fell through to "all
herbaria, no order." Moved to a private class method via
`class << self; private; def order_by_user; ...; end; end`.
Added `Query::HerbariaTest#test_herbarium_order_by_user` pinning
the scope works.

CrudButton::Edit String-target default name

Added test_edit_button_string_target_default_name — exercises the
`default_name` branch where target.is_a?(String) returns `:EDIT.l`
(dist... (continued)

6 of 9 new or added lines in 3 files covered. (66.67%)

41314 of 42690 relevant lines covered (96.78%)

674.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
82.61
15.94% app/helpers/panel_helper.rb
1
80.3
18.02% app/helpers/forms_helper.rb
Jobs
ID Job ID Ran Files Coverage
1 26789689542.1 02 Jun 2026 12:06AM UTC 1207
96.78
GitHub Action Run
Source Files on build 26789689542
  • Tree
  • List 1207
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26789689542
  • dc14cbe9 on github
  • Prev Build on main (#26789686984)
  • Next Build on main (#26790704702)
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