From: Mac Flores Date: 2008-02-29T22:56:01+09:00 Subject: Re: HELP: NameError: uninitialized constant Arlen, Thanks for your response. I get the same error when I do the require: require 'test/unit' require 'SongList' class TestSongList < Test::Unit::TestCase def test_delete list = SongList.new s1 = Song.new('title1','artist1',1) s2 = Song.new('title2','artist2',2) s3 = Song.new('title3','artist3',3) s4 = Song.new('title4','artist4',4) list.append(s1).append(s2).append(s3).append(s4) assert_equal(s1, list[0]) end end [ookman@foo rubyfiles]$ ruby ./TestSongList.rb Loaded suite ./TestSongList Started E Finished in 0.000413 seconds. 1) Error: test_delete(TestSongList): NameError: uninitialized constant TestSongList::SongList ./TestSongList.rb:7:in `test_delete' 1 tests, 0 assertions, 0 failures, 1 errors Arlen Cuss wrote: > Can you verify you get *exactly* the same error when you require > 'SongList' > at the top of your code? > > Thanks! > > Arlen -- Posted via http://www.ruby-forum.com/.