Commit 07af328b authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Use Coveralls formatter for SimpleCov

parent 9c607a50
......@@ -5,6 +5,8 @@ $LOAD_PATH.unshift(dir, File.join(dir, 'lib'), File.join(dir, '..', 'lib'))
require 'rubygems'
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter "/spec/fixtures/modules/mount_providers/"
add_filter { |src_file|
......@@ -22,6 +24,3 @@ Puppet[:modulepath] = File.join(dir, 'fixtures', 'modules')
# Load all shared contexts and shared examples
Dir["#{dir}/support/**/*.rb"].sort.each {|f| require f}
require 'coveralls'
Coveralls.wear!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment