test/test_helper.rb in semantic_logger-2.11.0 vs test/test_helper.rb in semantic_logger-2.12.0
- old
+ new
@@ -1,13 +1,15 @@
# Allow test to be run in-place without requiring a gem install
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
-#require 'rubygems'
+# Configure Rails Environment
+ENV['RAILS_ENV'] = 'test'
+
require 'minitest/autorun'
require 'minitest/reporters'
require 'minitest/stub_any_instance'
require 'shoulda/context'
require 'semantic_logger'
require 'logger'
require 'mock_logger'
-Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
\ No newline at end of file
+Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new