MiniTest 3.3.0 seems broken in some (fairly simple-looking) cases that 3.2.0 didn’t break. The presenting error is below.

It’s claiming that an auto-generated Test Suite doesn’t have a “run” method. I haven’t looked through enough diffs to be sure what the problem is.

A simple workaround is to go back to MiniTest 3.2.0, possibly by adding a “~>3.2.0” to your Gemfile.

1
~/gems/minitest-3.3.0/lib/minitest/unit.rb:826:in `block in _run_suite': undefined method `run' for #<ArrayTest:0x007f859811fa10> (NoMethodError)

Free Email Rails Class? Free Chapters? News?

* indicates required
You'll hear about Ruby on Rails internals, database migrations and whatever Rails programmers can benefit from.

Comments