Hello everyone !
I am currently trying to use the Pickle gem for my cucumber test in ruby and rails. I use blueprints. If I have a User class, with an id as primary key, and a "name" and a "best_friend_id" as attributes. How can I access to the id of the first User "Toto" to fill the best_friend_id field of "Titi" in my Pickle steps?
For example:
Given a user exists with name: "Toto"
Given a user exists with name: "Titi", best_friend_id: ??"Toto".id??
Probably a simple question, but I don't see this case in the little tutos I saw.
Please help the french newbie I am =)