RubyFlow The Ruby and Rails community linklog

4 Fantastic Ways to Set Up State in Minitest

RSpec gives you a number of ways of setting up prior to test runs, but only some of these have direct analogs in Minitest. In this post, I show you the code that will let you approximate RSpec’s features (and explain when and why you might want to avoid using it).

http://chriskottom.com/blog/2014/10/4-fantastic-ways-to-set-up-state-in-minitest/

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