From e319c8940624bbcc319f5ce93ec91bb85ceb6375 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 8 May 2013 20:57:33 +0200 Subject: [PATCH] Add coveralls (coverage web service) #1264 --- Gemfile | 2 ++ test/test_helper.rb | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Gemfile b/Gemfile index 86d44c10b9..d1b408ceba 100644 --- a/Gemfile +++ b/Gemfile @@ -23,6 +23,8 @@ group :test do gem 'mocha', '0.12.1' # capybara 2 drops ruby 1.8.7 compatibility gem 'capybara', '< 2.0.0' + + gem 'coveralls', :require => false end group :ldap do diff --git a/test/test_helper.rb b/test/test_helper.rb index f8adc32d73..ac8841a53c 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -13,6 +13,10 @@ #++ ENV["RAILS_ENV"] = "test" + +require 'coveralls' +Coveralls.wear!('rails') + require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' require File.expand_path(File.dirname(__FILE__) + '/helper_testcase')