Permalink
Browse files

Require FactoryGirl's factories on console opening

  • Loading branch information...
Irio committed May 20, 2014
1 parent f6ffa65 commit a9ad6d147760d376c4f9779eb1717fe85d48cdb6
Showing with 2 additions and 0 deletions.
  1. +2 −0 .irbrc
View
2 .irbrc
@@ -1 +1,3 @@
require 'factory_girl'
+factories_file = Rails.root.join('spec', 'factories.rb')
+eval(File.open(factories_file).read)

0 comments on commit a9ad6d1

Please sign in to comment.