-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flexmock with minitest throws NoMethodError: undefined method `assertions' #16
Comments
Under Ruby 2.0.0 it works: Run options: --seed 53091 Running:E Finished in 0.108801s, 9.1911 runs/s, 9.1911 assertions/s.
|
More information about that one: minitest 5 requires everything that includes MiniTest::Assertions to provide an "assertions" accessor. See minitest/minitest#286 |
A word: I'm trying to take over the maintenance of flexmock. It's unfortunately bit-rotting since Jim's passing, and that's really a pity - both for his memory as a great contributor to Ruby's community and as a really nice piece of software. I've fixed that particular issue, as well as added minitest-specific support and some other things |
It is compatible with pre-5 minitest (as shipped with ruby until at least 2.1) and 5.0+ Note that flexmock's own testsuite currently requires plain ruby, so you can't run the main testsuite if the 5.0+ minitest gem is active Fixes jimweirich#15 and jimweirich#16.
Running
gives
Tested with
The text was updated successfully, but these errors were encountered: