Writing MiniTest extensions
It’s pretty easy to extend MiniTest. Below I show you how to add very simple implementation of expect {}.to change {}.by(x)
from RSpec, in 13LOC.
It should work out of the box on Ruby 1.9.
https://gist.github.com/2584768
Post a comment