OK, I know I’m doing something bone-headed, but I can’t for the life of
me figure it out.
I’ve read the test fixtures Rdoc about eight dozen times, and it says
(to me) that if I have a YAML fixture file, dogs.yml that looks like
Then I can include
in my functional test, and I’ll have access to a Hash of the model
objects in the instance variable @dogs. And further, that the fixture
records are “found” and loaded into instance variables named as the
fixture. That is, I can also access @fido, and @fido = @dogs[“fido”].
However, I am getting no @dogs at all. I do get dogs (local variable),
but no @dogs. And I get no @fido or @fifi either.
My error? Doc error? Help!