I am running Rails 1.1.2 with Ruby 1.82-15. My database is Postgresql.
haven’t had any problems generating models, migrations, using scaffolds,
generally building and using my application, but I haven’t been able to
testing to work. I initially just ignored the problem and kept
but would like to add proper testing from here on out.
Currently when I type rake in my application directory, it attempts to
my unit tests (all generated files with single default assertion), but
immediately fails with the error:
./test/unit/…/test_helper.rb:18: undefined method
I read up on transactional_fixtures and testing in general and also
this list and in Google, but haven’t been able to find any reference to
problem. It is probably something stupid simple, but I am at a dead end
Has anyone else run into this? At this point I have deleted all my
controllers and views along with the functional test fixtures just to
attempt to narrow the problem down with just models and unit tests.
Any help is very much appreciated.