0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00
discourse-custom-wizard/spec/plugin_helper.rb

15 Zeilen
340 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"
add_filter { |src| src.filename =~ /(\/spec\/|\/db\/|plugin\.rb|api)/ }
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'