Re: undefined method `add_assertion' for nil:NilClass


#1

I found my problem.

I added following two lines to my code in my include section, which is
at
the begin of my main program:

require 'test/unit/assertions'
include Test::Unit::Assertions

This solved all my assert problems in my code.

Bernd