Skip to content

[RUN ALL RSPEC] Make stub_env simpler and complete

Stan Hu requested to merge sh-simplify-stub-env into master

Previously stub_env stubbed most of the common methods for ENV, but it missed a crucial one: to_h.

The new implementation fixes that problem and significantly simplifies the implementation by using stub_const.

This came out of !45855 (merged).

Edited by Stan Hu

Merge request reports