From: Glenn Jackman Date: 2010-01-23T05:55:14+09:00 Subject: Re: newbie help At 2010-01-22 01:46PM, "Se Ed" wrote: > I am having a problem with using the test-unit gem > > I get a NoMethodError when I simply do > > require 'test/unit/assertions' > #I've also used just require 'test/unit' > > def test > assert_equal(true, true) > end The Test::Unit::Assertions module defines instance methods, so you have to mix that module in to some object or class. You can do this: include Test::Unit::Assertions def test assert_equal(true, true) end -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous