require library after we load coverage tools so that it is actually covered.

This commit is contained in:
Micah Geisel 2020-04-24 12:10:42 -07:00
parent 28ba1de2af
commit 44715f76d5

View file

@ -1,5 +1,4 @@
require "bundler/setup"
require "database_cleaner-core"
require "byebug"
if ENV['COVERAGE'] == 'true'
@ -15,6 +14,8 @@ if ENV['COVERAGE'] == 'true'
puts "required simplecov"
end
require "database_cleaner-core"
RSpec.configure do |config|
# These two settings work together to allow you to limit a spec run
# to individual examples or groups you care about by tagging them with