barsoom / attr_extras

Takes some boilerplate out of Ruby with methods like attr_initialize.
MIT License
560 stars 31 forks source link

Fix deprecations of global expectations for Minitest 6 #30

Closed JuanitoFatas closed 4 years ago

JuanitoFatas commented 4 years ago

Howdy,

I was running the test for this project. Saw a lot of warnings from Minitest.

The deprecation was introduced by this commit.

There are 3 syntax to choose from:

_(1 + 1).must_equal 2
value(1 + 1).must_equal 2
expect(1 + 1).must_equal 2

I pick the shortest one, I could update based on your preference.

Thanks.

henrik commented 4 years ago

Thank you so much! :)