summaryrefslogtreecommitdiff
path: root/users/test/test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'users/test/test_helper.rb')
-rw-r--r--users/test/test_helper.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/test/test_helper.rb b/users/test/test_helper.rb
new file mode 100644
index 0000000..b268c51
--- /dev/null
+++ b/users/test/test_helper.rb
@@ -0,0 +1,10 @@
+ENV["RAILS_ENV"] = "test"
+require File.expand_path('../dummy/config/environment', __FILE__)
+require 'rails/test_help'
+require 'mocha'
+
+Rails.backtrace_cleaner.remove_silencers!
+
+# Load support files
+Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
+