test/test_helper.rb in rambulance-0.5.0 vs test/test_helper.rb in rambulance-0.6.0
- old
+ new
@@ -1,7 +1,10 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
+# RAILS_ENV needs to be set to development to mount the error page debug view
+ENV['RAILS_ENV'] ||= 'development'
+
require 'rails'
require 'minitest/autorun'
require 'minitest/pride'
require 'action_controller/railtie'
require 'action_view/railtie'