Updated

features/support / pickle.rb

A
24 lines of codes
0 methods
N/A complexity/method
2 churn
0.0 complexity
0 duplications
# 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 FactoryBot add: features/support/factory_bot.rb # # require 'factory_bot' # 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 <tt>config/environments/cucumber.rb</tt> require 'pickle/world' # Example of configuring pickle: # # Pickle.configure do |config| # config.adapters = [:machinist] # config.map 'I', 'myself', 'me', 'my', :to => 'user: "me"' # end