test/test_helper.rb in simple_auth-3.1.1 vs test/test_helper.rb in simple_auth-3.1.2
- old
+ new
@@ -1,9 +1,11 @@
# frozen_string_literal: true
require "simplecov"
-SimpleCov.start
+SimpleCov.start do
+ add_filter "/test/"
+end
require "bundler/setup"
require "rack/test"
require "minitest/utils"
require "minitest/autorun"
@@ -14,6 +16,6 @@
require "active_record"
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
require "./test/support/schema"
-Dir["./test/support/**/*.rb"].each {|file| require file }
+Dir["./test/support/**/*.rb"].sort.each {|file| require file }