Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add factory_girl setup to minitest_helper

  • Loading branch information...
commit 54c187199dadbd2706a8a9e6986bd714b25cd282 1 parent 288a00e
@phlipper phlipper authored
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 }
Please sign in to comment.
Something went wrong with that request. Please try again.