Permalink
Browse files

Add coveralls to spec helper

  • Loading branch information...
1 parent c81cfd1 commit 8f258d6372a33988778851f1e6d510e2af1cece7 @dkubb committed Mar 18, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/spec_helper.rb
View
@@ -9,6 +9,12 @@
if ENV['COVERAGE'] == 'true'
require 'simplecov'
+ require 'coveralls'
+
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+ ]
SimpleCov.start do
command_name 'spec:unit'

0 comments on commit 8f258d6

Please sign in to comment.