diff --git a/Gemfile b/Gemfile index 21e1b16..4bb5c66 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,5 @@ group :development, :test do gem 'jeweler' gem 'shoulda' gem 'simplecov' + gem 'coveralls', :require => false end diff --git a/test/test_helper.rb b/test/test_helper.rb index 2ccc485..d654f93 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -8,6 +8,14 @@ require 'simplecov' SimpleCov.start +begin + # Coveralls is marked as an _optional_ dependency, so don't + # throw a fit if it's not there. + require 'coveralls' + Coveralls.wear! +rescue LoadError +end + require 'rantly' class Test::Unit::TestCase