From fd679dc78b50a066db57fd345d9c766c4a0c8381 Mon Sep 17 00:00:00 2001 From: benji Date: Tue, 3 Mar 2015 16:03:59 +0100 Subject: [PATCH] Add coveralls --- Gemfile | 2 ++ test/test_helper.rb | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 9d161f1..8a6238b 100644 --- a/Gemfile +++ b/Gemfile @@ -68,3 +68,5 @@ gem 'paper_trail', '~> 4.0.0.beta' # Windoos sux gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw] + +gem 'coveralls', require: false diff --git a/test/test_helper.rb b/test/test_helper.rb index 92e39b2..cbd1a50 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,3 +1,6 @@ +require 'coveralls' +Coveralls.wear! + ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help'