ENV['TORK_CONFIGS'] += ':factory_girl' if Dir['{test,spec}/factories/'].any?