0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-23 01:40:29 +01:00
discourse-custom-wizard/spec/plugin_helper.rb
2021-05-17 19:57:09 +12:00

14 Zeilen
345 B
Ruby

# frozen_string_literal: true
if ENV['SIMPLECOV']
require 'simplecov'
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|gems)/ }
SimpleCov.minimum_coverage 80
end
end
require 'rails_helper'