Skip to content

Commit

Permalink
Moved find_definition into after_initialize block.
Browse files Browse the repository at this point in the history
  • Loading branch information
technicalpickles authored and jferris committed Nov 28, 2008
1 parent 635ecee commit 153ecd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/factory_girl.rb
Expand Up @@ -19,7 +19,9 @@ def Factory (name, attrs = {})
File.join(RAILS_ROOT, 'test', 'factories'),
File.join(RAILS_ROOT, 'spec', 'factories')
]
Factory.find_definitions
end
else
Factory.find_definitions
end

Factory.find_definitions

0 comments on commit 153ecd0

Please sign in to comment.