engine/features/support/pickle.rb

25 lines
964 B
Ruby
Raw Normal View History

# 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 <tt>config/environments/cucumber.rb</tt>
require 'pickle/world'
# Example of configuring pickle:
#
Pickle.configure do |config|
config.adapters = [:factory_girl]
# config.map 'I', 'myself', 'me', 'my', :to => 'user: "me"'
end