I have fixture data in froglets.yml
In my functional test I specify fixtures :froglets
I can then access the individual fixture values by froglets(:froglet1) for example.
I want to check the data in my index view so I want to iterate through the froglets checking that the data is correctly formatted using something of the form
froglets.each do |froglet| …
but this does not work as the froglets object appears to be an empty array.
I realise I can do this by iterating the database records instead but this does not seem the right way to do it.
I have googled without success.
Suggestions will be much appreciated.