Permalink
Browse files

make factory railtie a module around the railtie class

  • Loading branch information...
1 parent 338105c commit 42fbd1b44e691b7e72614ac593eccf468729d43c Daniel Barron committed Aug 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/factory_girl_rails/railtie.rb
@@ -1,7 +1,7 @@
require 'factory_girl'
require 'rails'
-class Factory
+module Factory
class Railtie < Rails::Railtie
config.after_initialize do
Factory.definition_file_paths = [

0 comments on commit 42fbd1b

Please sign in to comment.