Skip to content

Commit

Permalink
Make tests pass
Browse files Browse the repository at this point in the history
"This usage of the Code Climate Test Reporter is now deprecated. Since version
1.0, we now require you to run `SimpleCov` in your test/spec helper, and then
run the provided `codeclimate-test-reporter` binary separately to report your
results to Code Climate.
More information here: https://github.com/codeclimate/ruby-test-reporter/blob/master/README.md"
  • Loading branch information
RoxasShadow committed Jul 31, 2017
1 parent 177ee6f commit 9418134
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ group :development do
end

group :test do
gem "codeclimate-test-reporter", group: :test, require: nil
gem "codeclimate-test-reporter", require: false
gem "simplecov", require: false
end

gemspec
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "simplecov"
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
SimpleCov.start

require 'rubygems'
require 'bundler'
Expand Down

0 comments on commit 9418134

Please sign in to comment.