From: Mac Flores Date: 2008-02-29T23:19:50+09:00 Subject: Re: HELP: NameError: uninitialized constant Aarrgh! It's a typo! Thanks, Arlen and Stefano! I've been looking at that code for so many hours that I missed the 'class' declaration for SongList and was using 'def' instead like you observed. I changed that among other things. I also added require 'Song' in the SongList class and require 'SongList' in the TestSongList test class. The test runs now passes. I appreciate your help and the extra set of eyes. Arlen Cuss wrote: > Hi, > > On Sat, Mar 1, 2008 at 12:56 AM, Mac Flores > wrote: > >> Arlen, >> >> Thanks for your response. I get the same error when I do the require: >> > > Ah, see Stefano's answer. Use `class', not `def'. An accidental typo. :) > > But, I also think you'll find you need to require Song as well, > otherwise > that won't exist either! > > Arlen -- Posted via http://www.ruby-forum.com/.