summaryrefslogtreecommitdiff
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-04 16:24:35 +0100
committerAzul <azul@leap.se>2012-11-04 16:24:35 +0100
commit5c6395d8b1a8c7cf540dae9fdd37f3e68554215c (patch)
tree727cd51d00addfb26ebbfc9a75d890513b709930 /test/test_helper.rb
parent2264623a445bf5c64404ef302f63e4d99ecbd97f (diff)
fixing tests, including support files from all engines
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index f7d48ec..50d5159 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -4,6 +4,9 @@ require 'rails/test_help'
require 'mocha'
+# Load support files from all engines
+Dir["#{File.dirname(__FILE__)}/../*/test/support/**/*.rb"].each { |f| require f }
+
class ActiveSupport::TestCase
# Add more helper methods to be used by all tests here...
end