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

galtzo-floss / rspec-stubbed_env / 38424115768
100%

Build:
DEFAULT BRANCH: main
Ran 13 Oct 2026 03:41PM UTC
Jobs 1
Files 5
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

13 Oct 2026 03:40PM UTC coverage: 100.0%. Remained the same
38424115768

push

github

pboling
🐛 env_stubbed? checks the mutation ledger, not the stubbed ENV

The ledger rewrite left env_stubbed? reading ENV.fetch(STUBBED_KEY),
but STUBBED_KEY is added with track: false, so it never reaches the
ledger — env_stubbed? always returned false and init_stub re-ran on
every stub_env/hide_env call. Check the ivar ledger instead.

Coverage specs for the four branches the CI gate flagged (87.09%
branch vs the 100% hard floor): fetch default block on a nil-stubbed
key, and already-stubbed skips for stub_env, hide_env, and
stub_env_hash_accessors. Local run: 66 examples 0 failures, 100.00%
line and branch coverage.

Signed-off-by: Peter H. Boling <peter.boling@gmail.com>

31 of 31 branches covered (100.0%)

Branch coverage included in aggregate %.

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

84 of 84 relevant lines covered (100.0%)

35.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38424115768.1 13 Oct 2026 03:41PM UTC 5
100.0
GitHub Action Run
Source Files on build 38424115768
  • Tree
  • List 5
  • 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 #38424115768
  • dfe7eb90 on github
  • Prev Build on main (#38212837493)
  • Next Build on main (#38424153325)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc