test/test_helper.rb in hightop-0.1.3 vs test/test_helper.rb in hightop-0.1.4
- old
+ new
@@ -2,9 +2,11 @@
Bundler.require(:default)
require "minitest/autorun"
require "minitest/pride"
require "logger"
+Minitest::Test = Minitest::Unit::TestCase unless defined?(Minitest::Test)
+
# for debugging
# ActiveRecord::Base.logger = Logger.new(STDOUT)
# migrations
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"