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

18 Zeilen
420 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
require 'oj'
Oj.default_options = Oj.default_options.merge(cache_str: -1)
2021-03-11 06:38:12 +01:00
require 'rails_helper'