26 lines
1,018 B
Ruby
26 lines
1,018 B
Ruby
# 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
|
||
require 'pickle/path/world'
|
||
require 'pickle/email/world'
|