diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 95a877f7..90b8798a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -16,7 +16,7 @@ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration require 'codeclimate-test-reporter' -CodeClimate::TestReporter.start +CodeClimate::TestReporter.start if ENV['CODECLIMATE_REPO_TOKEN'] RSpec.configure do |config| # These two settings work together to allow you to limit a spec run