Hi, I am trying to follow the book 'Beginning Ruby on Rails e-commerce'
examples.
When I come to unit testing I get an error message:
C:/Ruby/bin/ruby.exe -I"lib;test"
"C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
"test/unit/author_test.rb" "test/unit/helpers/about_helper_test.rb"
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in
`load_missing_constant': uninitialized constant Test::Unit::Testcase
(NameError)
So, did you create everything from scratch? Or, did you read a section
in the book that said go to x website and download the incomplete or
complete samples and you are working from those?
If you are working from samples, the samples are probably not using the
same RoR version you are. That's the very first question I'd answer.
Most books and source files that go with those books are out of date
already.