You could write your own, but the coolest way I know to do this is like require 'test/unit'
class Foo < Test::Unit::TestCase def test_foo array_1 = [1,2,3] array_2 = [1,2,3] assert_equal(array_1 - array_2 ,[]) end end On 7/11/06, Mike Townley <[EMAIL PROTECTED]> wrote: > > > > > I have some test scripts that have been here before I started. After > upgrading to 1.5 from 1.4 I get the following errors in my test scripts > > NoMethodError: undefined method `assert_arrayEquals' for > #<TC_User:0x2bdbea8> > > > > Is there a way to get that method back? Or can I replace it easily with > another method? It is used in a whole bunch of places and I would love to be > able to basically do a find and replace on it. > > > > Any help would be great. > > > > Thanks > > Mike > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
