mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
require library after we load coverage tools so that it is actually covered.
This commit is contained in:
parent
28ba1de2af
commit
44715f76d5
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue