Scenario: Using Machinist blueprints in Cucumber/Pickle

22 Sep 2009

Given you have two blueprints for users:
User.blueprint {}
User.blueprint(:admin) {}
Then this is how you reference them from a Cucumber feature definition:
Given a user exists
Given an admin_user exists
Took me some digging into the Pickle code to find that out. If you haven't checked out these amazing tools yet, here are some links: