diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-06-30 09:12:45 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-07-09 14:23:21 -0300 |
commit | 9c645f14dd6e9a1deb191e3885c45eee398e0e23 (patch) | |
tree | 9447e0f5e0b9ff3551922f04c80a73ddf63649df /test/test_helper.rb | |
parent | 7e33c1bb5734aedbc1e1749cd238141059b788f8 (diff) | |
download | highline-9c645f14dd6e9a1deb191e3885c45eee398e0e23.tar.gz |
Use a conditional to avoid codeclimate warning
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 8e37082..144197b 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -3,7 +3,9 @@ require 'simplecov' -require "codeclimate-test-reporter" -CodeClimate::TestReporter.start +if ENV['CODECLIMATE_REPO_TOKEN'] + require "codeclimate-test-reporter" + CodeClimate::TestReporter.start +end require "minitest/autorun" |