1
0
Fork 0
discourse-custom-wizard-unl.../spec/plugin_helper.rb

15 Zeilen
345 B
Ruby

# frozen_string_literal: true
2020-12-04 08:06:33 +01:00
if ENV['SIMPLECOV']
require 'simplecov'
2019-12-09 09:14:31 +01:00
2020-12-04 08:06:33 +01:00
SimpleCov.start do
root "plugins/discourse-custom-wizard"
track_files "plugins/discourse-custom-wizard/**/*.rb"
2021-05-17 09:57:09 +02:00
add_filter { |src| src.filename =~ /(\/spec\/|\/db\/|plugin\.rb|api|gems)/ }
2021-03-11 06:38:12 +01:00
SimpleCov.minimum_coverage 80
2020-12-04 08:06:33 +01:00
end
end
2021-03-11 06:38:12 +01:00
require 'rails_helper'