thoughtbot/factory_girl_rails — pull request #73 by ernie (2012-09-18 13:39:12+00:00)
Title: Use a previously-selected :dir from application.rb

factory_girl_rails currently ignores a previously-supplied :dir option from application.rb, and therefore always generates factories at spec/factories when RSpec is being used.

This patch will respect the user-supplied option, if given.