search for: name_of_fixture_entry

Displaying 1 result from an estimated 1 matches for "name_of_fixture_entry".

2006 Mar 22
1
An easy one: Accessing fixture data in 1.0+
...how to access the raw fixture data out of the YML file (as opposed to the database.) Mainly, for comparing my database results with my expected results in a DRY way. The book says if you have the command "fixtures :foo", that you''ll then have a hash of the YML data in @foo["name_of_fixture_entry"]. With non-instantiated fixtures, this isn''t there. So where''d it go? I tried googling for the answer, but it only came back with information telling me that instantiated fixtures are now turned off. -- -Matt Torok