Displaying 1 result from an estimated 1 matches for "foxtur".
Did you mean:
foxture
2006 Jun 13
2
Locating an arbitrary fixture...
...which one. It
doesn''t need to be random and could always return the same fixture.
This is part of a support function for custom assertions and it doesn''t
know what class its working on, let alone what fixture names are
possible.
I''ve tried digging around some in the foxture source file to see exactly
how they are implemented, but its not quite clear yet. I''ve been trying
to do something (very messy) like:
tmp =
@@already_loaded_fixtures[self.class][@klass.to_s.downcase.pluralize]
tmp is now a double nested array. However it appears to be protected...