0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00
discourse-custom-wizard/spec/plugin_helper.rb
2021-03-11 11:08:12 +05:30

14 Zeilen
340 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)/ }
SimpleCov.minimum_coverage 80
end
end
require 'rails_helper'