I'm using Rails 3, machinist 2, cucumber and rspec all together and have two blueprints.rb files. One in the spec directory and one in the features/support directory.
Is it a good idea to just have one blueprints.rb file?
If it is, what is the preferred way of setting this up?
For the meantime I'm just symlinking my features/support/blueprints.rb file to spec/blueprints.rb which maybe bad, but it works for me.
i have this inside of features/support
file name machinist.rb
require 'machinist/active_record'
Dir[ File.dirname(__FILE__) + "/../../spec/blueprints/*"].each {|file| require file }
Before { Sham.reset } # to reset Sham's seed between scenarios so each run has same random sequences