diff options
author | Azul <azul@leap.se> | 2014-04-08 09:58:41 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-08 10:08:26 +0200 |
commit | 045237ff88ffd5f1fe23d9621b043a9e604e54fa (patch) | |
tree | 59bbfc5a4855a73789118ebe994acc03158e20fe /test/test_helper.rb | |
parent | 53808b073f539ba2b442738b6abf97228488e311 (diff) |
fix requiring core extensions - most tests pass
some message tests are failing for me right now.
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index f63591f..b844b90 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -4,6 +4,9 @@ require 'rails/test_help' require 'mocha/setup' +# Load support files from toplevel +Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } + # Load support files from all engines Dir["#{File.dirname(__FILE__)}/../*/test/support/**/*.rb"].each { |f| require f } |