I have a functional test class that uses the “topics” fixture. I
verified that the fixture is loaded into the database by doing this:
assert_equal 2, Topic.find_all.size
So I should have an instance variable called @topics and instance
variables for each of the rows in the fixture, in this case, @first and
@another. But all those variables are nil inside my test method.
Is that convenience only available in unit tests? It is equally useful
in functional tests. Or is there some other problem? Thanks…