Using Test::Unit

aslakhellesoy edited this page Oct 15, 2012 · 2 revisions

Don't like RSpec's should methods for assertions? No problem, we won't force you to. You can use the familiar Test::Unit assert methods by mixing it into your World.

require 'test/unit/assertions'


You can see a full example under the examples