aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2015-07-13 10:43:52 -0500
committerPratik Naik <pratiknaik@gmail.com>2015-07-13 11:30:52 -0500
commite1da6814b44110bc640a297bbca98bd87950b192 (patch)
tree5f45c33d0f0a47d07ea9f3d1a621d30ba026a9df /test/test_helper.rb
parented7658f1f3ac9d2a91e61187645cf7531a0a0db4 (diff)
downloadrails-e1da6814b44110bc640a297bbca98bd87950b192.tar.gz
rails-e1da6814b44110bc640a297bbca98bd87950b192.tar.bz2
rails-e1da6814b44110bc640a297bbca98bd87950b192.zip
Always load all the stub files
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 5b8ba110db..0e0191e804 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -13,6 +13,9 @@ require 'mocha/mini_test'
require 'action_cable'
ActiveSupport.test_order = :sorted
+# Require all the stubs and models
+Dir[File.dirname(__FILE__) + '/stubs/*.rb'].each {|file| require file }
+
class ActionCableTest < ActiveSupport::TestCase
PORT = 420420