test/test_helper.rb in simple_auth-3.0.0 vs test/test_helper.rb in simple_auth-3.1.0
- old
+ new
@@ -1,13 +1,17 @@
-$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
+# frozen_string_literal: true
+require "simplecov"
+SimpleCov.start
+
require "bundler/setup"
require "rack/test"
require "minitest/utils"
require "minitest/autorun"
require "./test/support/dummy/config/application"
require "./test/support/dummy/config/routes"
+require "./test/support/dummy/app/controllers/application_controller"
require "active_record"
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
require "./test/support/schema"