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

mroderick / codebar-planner / 24286558792
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: fix/time-dependent-flaky-tests
DEFAULT BRANCH: master
Ran 11 Apr 2026 04:26PM UTC
Jobs 1
Files 182
Run time 1min
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

11 Apr 2026 04:19PM UTC coverage: 95.556% (-0.002%) from 95.558%
24286558792

push

github

mroderick
fix(test): freeze time in tests to prevent flaky failures

Remove timecop gem dependency and use Rails' travel_to helper.

Time-based scopes compare against Time.zone.now evaluated at query time,
while test fixtures used relative times evaluated at creation time. This
caused flaky tests when any time passed between fixture creation and query.

Files changed:
- Remove timecop from Gemfile and test.rb config
- Add travel_to blocks to time-dependent tests in shared examples,
  listable_spec, attendance_warning_spec, feature tests, rake tasks,
  and presenter specs

Fixes flaky test failures in CI runs.

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

3483 of 3645 relevant lines covered (95.56%)

46.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24286558792.1 11 Apr 2026 04:26PM UTC 1092
69.6
GitHub Action Run
Source Files on build 24286558792
  • Tree
  • List 182
  • Changed 121
  • Source Changed 1
  • Coverage Changed 121
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24286558792
  • 3f44835e on github
  • Prev Build on master (#24278640621)
  • 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