diff --git a/Gemfile b/Gemfile index 3fd0970..41bcd1e 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,7 @@ group :development do end group :test do + gem 'coveralls', :require => false gem 'hashie', '~> 3.5.0', :platforms => [:jruby_18] gem 'json', '~> 2.0.3', :platforms => [:jruby_18, :jruby_19, :ruby_19] gem 'mime-types', '~> 3.1', :platforms => [:jruby_18] diff --git a/spec/helper.rb b/spec/helper.rb index 5cbc7e7..aa726a3 100644 --- a/spec/helper.rb +++ b/spec/helper.rb @@ -1,5 +1,11 @@ if RUBY_VERSION >= '1.9' require 'simplecov' + require 'coveralls' + + SimpleCov.formatters = [ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter + ] SimpleCov.start do add_filter '/spec/'