# this file generated by script/generate pickle [paths] [email] # # Make sure that you are loading your factory of choice in your cucumber environment # # For machinist add: features/support/machinist.rb # # require 'machinist/active_record' # or your chosen adaptor # require File.dirname(__FILE__) + '/../../spec/blueprints' # or wherever your blueprints are # Before { Sham.reset } # to reset Sham's seed between scenarios so each run has same random sequences # # For FactoryGirl add: features/support/factory_girl.rb # # require 'factory_girl' # require File.dirname(__FILE__) + '/../../spec/factories' # or wherever your factories are # # You may also need to add gem dependencies on your factory of choice in config/environments/cucumber.rb require 'pickle/world' # Example of configuring pickle: # # Pickle.configure do |config| # config.adapters = [:machinist] # config.map 'I', 'myself', 'me', 'my', :to => 'user: "me"' # end <%- if pickle_path -%>require 'pickle/path/world' <%- end -%> <%- if pickle_email -%>require 'pickle/email/world' <%- end -%>