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

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

Build:
Build:
LAST BUILD BRANCH: fix/time-dependent-flaky-tests
DEFAULT BRANCH: master
Ran 11 Apr 2026 03:54PM 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 03:40PM UTC coverage: 95.556% (-0.002%) from 95.558%
24286005864

push

github

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

Remove timecop gem and standardize on ActiveSupport time helpers.

- Remove timecop from Gemfile and test.rb config
- Migrate Timecop.travel to travel_to in listable_spec.rb
- Fix shared_examples/behaves_like_an_invitation.rb by wrapping
  time-dependent tests in travel_to blocks
- Add time freezing to #completed_since_yesterday, #next, #most_recent
  tests that compare against Time.zone.now

The scopes upcoming_rsvps and taken_place compare date_and_time
against Time.zone.now evaluated at query time, while test fixtures
used relative times like 2.days.ago evaluated at creation time.
Freezing time ensures both are evaluated relative to the same moment.

Fixes flaky test failures in PR #2538 CI runs.

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

3483 of 3645 relevant lines covered (95.56%)

46.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24286005864.1 11 Apr 2026 03:54PM UTC 1092
69.25
GitHub Action Run
Source Files on build 24286005864
  • Tree
  • List 182
  • Changed 118
  • Source Changed 1
  • Coverage Changed 118
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24286005864
  • d54ef44b on github
  • Prev Build on master (#24278640621)
  • Next Build on fix/time-dependent-flaky-tests (#24286128117)
  • 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