Hello,
I use in tests fixtures, you know these wonderful YAML files for seeding the database. When you have a database table :items then there is in the corresponding YAML file items.yml before each item its label, so you can access the item by items(:label) in your tests.
How can I get all the labels (not the items) more elegantly than parsing the YAML file?
Thanks in advance,
Armin