Skip to content
Browse files

add factory_girl setup to minitest_helper

  • Loading branch information...
1 parent 288a00e commit 54c187199dadbd2706a8a9e6986bd714b25cd282 @phlipper phlipper committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/generators/thincloud/test/templates/minitest_helper.rb
View
4 lib/generators/thincloud/test/templates/minitest_helper.rb
@@ -23,6 +23,10 @@
require "mocha" # mocks and stubs
+# use factories instead of fixtures
+require 'factory_girl'
+FactoryGirl.find_definitions
+
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join("./test/support/**/*.rb")].sort.each { |f| require f }

0 comments on commit 54c1871

Please sign in to comment.
Something went wrong with that request. Please try again.