Permalink
Browse files

include factory_girl syntax sugar in minitest spec

  • Loading branch information...
1 parent 077e87c commit 6e7b581eb975781ecefcc421e9153d637ee60377 @phlipper phlipper committed Sep 28, 2012
@@ -0,0 +1,3 @@
+class MiniTest::Spec
+ include FactoryGirl::Syntax::Methods
+end
@@ -15,6 +15,7 @@ def test
remove_file "test/minitest_helper.rb"
copy_file "minitest_helper.rb", "test/minitest_helper.rb"
+ copy_file "factory_girl.rb", "test/support/factory_girl.rb"
copy_file "database_cleaner.rb", "test/support/database_cleaner.rb"
copy_file "test.rake", "lib/tasks/test.rake"

0 comments on commit 6e7b581

Please sign in to comment.