Skip to content

Reset ENV between specs with ice_age - #106

Merged
DannyBen merged 2 commits into
bashly-framework:masterfrom
dpep:ice_age
Nov 30, 2026
Merged

DannyBen merged 2 commits into
bashly-framework:masterfrom
dpep:ice_age

Conversation

@dpep

@dpep dpep commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Hi! I'm a fan of completely and wanted to help simplify this great library. A while back I wrote ice_age to automatically reset ENV between specs. We could use it here to remove 39 lines of manual ENV cleanup in specs (after { ENV[...] = nil } and the around/ensure blocks to restore values).

Any interest?

@DannyBen

Copy link
Copy Markdown
Member

This does seem to simplify all the clunky ENV settings, but at the cost of another dependency.
I am inclined to accept.

Tests seem to fail for another reason, should I take over or do you want to attempt the fix?

@DannyBen

Copy link
Copy Markdown
Member

Fixed the CI via #107 - tests pass now.
Ready to merge from your point of view?

@dpep

dpep commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

thanks for the CI fix. looks gtg 🚀

@DannyBen
DannyBen merged commit 6ad7884 into bashly-framework:master Nov 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants