Skip to content

Commit

Permalink
Move simplecov up to the top and add HTML formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
estahn committed Dec 16, 2013
1 parent 7aba187 commit d30efe2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
require 'simplecov'
require 'coveralls'

formatters = [SimpleCov::Formatter::HTMLFormatter]
formatters << Coveralls::SimpleCov::Formatter

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters]
SimpleCov.start

require 'chefspec'
require 'chefspec/berkshelf'
require 'fauxhai'

require 'coveralls'
Coveralls.wear!

0 comments on commit d30efe2

Please sign in to comment.