ruby - How to use named Machinist blueprints in Cucumber with Pickle -


I saw this little bit in readmeem:

(supports the latest version of Pickle, Pickles for the earlier versions of the instrument maker; = 0.1.10)

I am running in a situation where I want to make a user with admin rights. I have two mechanist blueprints:

  user.blueprint do first_name last_name email password {"password"} password_confirmation {"password"} state "active" end user. Blueprint (: super_admin) Instead of making a custom step for myself to create a super-admin user, I was wondering if there is any way  
  with a user's first_name Given: Use "test", "good". Last_name: "man"  

The question is, how do I tell if I want a super-admin user?

Make sure how it will be done in pickle, with so much gem, Administrators can create users:

  A user with the first name "test" and last name "man"  

Comments