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

mroderick / codebar-planner / 25429409084
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: split-up-how-to-support
DEFAULT BRANCH: master
Ran 06 May 2026 10:20AM UTC
Jobs 1
Files 184
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

06 May 2026 10:15AM UTC coverage: 95.455%. First build
25429409084

push

github

mroderick
fix: workshop capacity checks now properly compare attending count with available spaces

PR #2605 changed the capacity check methods from student_spaces?/
coach_spaces? to event_student_spaces?/event_coach_spaces?, but the
new methods in EventPresenter called model.student_spaces? which just
checks if the attribute is present (truthy), not if spaces are actually
available.

This fix adds proper event_student_spaces? and event_coach_spaces?
methods to WorkshopPresenter that correctly compare the number of
attending students/coaches with the available spaces from the workshop
model (using model.student_spaces and model.coach_spaces).

This ensures that:
- When 2 students attend a workshop with 2 spaces, event_student_spaces?
  returns false (correctly indicating the workshop is full)
- When 1 student attends a workshop with 2 spaces, event_student_spaces?
  returns true (correctly indicating space is available)

Fixes the bug where workshops showed as full even when spaces were
available, and vice versa.

4 of 4 new or added lines in 1 file covered. (100.0%)

3528 of 3696 relevant lines covered (95.45%)

47.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25429409084.1 06 May 2026 10:20AM UTC 1104
70.28
GitHub Action Run
Source Files on build 25429409084
  • Tree
  • List 184
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25429409084
  • cfa9613a on github
  • Delete
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