minitest-vcr icon indicating copy to clipboard operation
minitest-vcr copied to clipboard

use Minitest instead of MiniTest

Open manuelvanrijn opened this issue 1 year ago • 4 comments

The rename happened in 5.0, but 5.19.0 started to only define the old alias when ENV["MT_COMPAT"] is defined, which usually is not the case

manuelvanrijn avatar Aug 02 '23 08:08 manuelvanrijn

@mfpiccolo here's a failing pipeline for you to double check against: https://github.com/simonneutert/papierkram_api_client/actions/runs/5859933192/job/15886957088?pr=56

simonneutert avatar Aug 14 '23 19:08 simonneutert

Just encountered this as well after upgrading to Rails 7.0.7

uninitialized constant MiniTest (NameError) - happens in minispec-metadata-2.0.0 which is a dependency on minitest-vcr.

setting ENV["MT_COMPAT"] to true made it work again (for now)

Mostly added that last part to make it easier for others searching for that specific error and find a temp solution :-)

jeppeliisberg avatar Aug 16 '23 16:08 jeppeliisberg

@jeppeliisberg we got it merged there already 🎉

https://github.com/ordinaryzelig/minispec-metadata/pull/18

thank you for sharing, that ENV["MT_COMPAT"] helps :v:

simonneutert avatar Aug 16 '23 18:08 simonneutert

opened #29 before seeing this :(

Hopefully it will be merged soon

go2null avatar Dec 19 '23 16:12 go2null