diff --git a/spec/plugin_helper.rb b/spec/plugin_helper.rb index c31ec990..6680874f 100644 --- a/spec/plugin_helper.rb +++ b/spec/plugin_helper.rb @@ -7,7 +7,8 @@ if ENV['SIMPLECOV'] 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' \ No newline at end of file +require 'rails_helper'