diff --git a/test/test_helper.rb b/test/test_helper.rb index 1ead2d7..4c96402 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,9 @@ ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' +Dir[Rails.root.join("test/support/*.rb")].each {|f| require f } + class ActiveSupport::TestCase include FactoryGirl::Syntax::Methods end