Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-13 21:42:53 +01:00
17 Zeilen
420 B
Ruby
17 Zeilen
420 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 'oj'
|
|
Oj.default_options = Oj.default_options.merge(cache_str: -1)
|
|
|
|
require 'rails_helper'
|