Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add coveralls to spec helper

  • Loading branch information...
commit 8f258d6372a33988778851f1e6d510e2af1cece7 1 parent c81cfd1
Dan Kubb authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/spec_helper.rb
6 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'
Please sign in to comment.
Something went wrong with that request. Please try again.