From 07a3962d7d2c2c2003a7108fc0aa186c22dea229 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Sun, 22 Sep 2013 19:29:30 +0200 Subject: [PATCH] remove simplecov since we now have coverage reporting on Code Climate --- Gemfile | 1 - features/support/env.rb | 6 ++++-- test/minimal_test_helper.rb | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index c14b5709..965374dd 100644 --- a/Gemfile +++ b/Gemfile @@ -57,7 +57,6 @@ group :test do gem "mocha", :require => false gem "aruba", git: 'https://github.com/cucumber/aruba', :require => false # need 0.5.4 for piping files; 0.5.3 is latest - gem "simplecov" gem "timecop", "~> 0.6.2" # Note that > 2.14 has problems, see: diff --git a/features/support/env.rb b/features/support/env.rb index 376c2cf3..3a1145c8 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -3,8 +3,10 @@ # newer version of cucumber-rails. Consider adding your own code to a new file # instead of editing this one. Cucumber will automatically load all features/**/*.rb # files. -require 'simplecov' -SimpleCov.start 'rails' + +# test coverage from codeclimate +require "codeclimate-test-reporter" +CodeClimate::TestReporter.start require 'cucumber/rails' require 'aruba/cucumber' diff --git a/test/minimal_test_helper.rb b/test/minimal_test_helper.rb index 1216a193..ca8e59a2 100644 --- a/test/minimal_test_helper.rb +++ b/test/minimal_test_helper.rb @@ -1,5 +1,6 @@ -require 'simplecov' -SimpleCov.start 'rails' +# test coverage from codeclimate +require "codeclimate-test-reporter" +CodeClimate::TestReporter.start ENV["RAILS_ENV"] = "test" require 'test/unit'