Skip to content

Commit

Permalink
Fixes #15998 - Adjust tracked files in coverage (#6231)
Browse files Browse the repository at this point in the history
  • Loading branch information
akofink authored and daviddavis committed Aug 10, 2016
1 parent 483a9c3 commit 6fce27a
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions test/katello_test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
require 'simplecov'
require 'simplecov-rcov'
SimpleCov.formatters = [
SimpleCov::Formatter::RcovFormatter,
SimpleCov::Formatter::HTMLFormatter
]
SimpleCov.start 'rails'

require 'test_helper'
require 'factory_girl_rails'
require "webmock/minitest"
require "mocha/setup"
require 'set'

SimpleCov.formatters = [
SimpleCov::Formatter::RcovFormatter,
SimpleCov::Formatter::HTMLFormatter
]

SimpleCov.start do
filters.clear
add_filter do |src|
!src.filename.include?('/plugin/app/') && !src.filename.include?('/plugin/lib/')
end
end

require "#{Katello::Engine.root}/test/support/minitest/spec/shared_examples"
require "#{Katello::Engine.root}/spec/models/model_spec_helper"
require "#{Katello::Engine.root}/spec/helpers/locale_helper_methods"
Expand Down

0 comments on commit 6fce27a

Please sign in to comment.