RubyFlow The Ruby and Rails community linklog

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in