diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-01-22 16:52:43 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-01-22 19:46:06 -0600 |
commit | 23c16cae35057e2eae141715500b15776da6dfd5 (patch) | |
tree | a9a2ea1633f79d53554f2532c39e71913cb9d4d0 /spec/support/code_climate.rb | |
parent | a2d40cdde33186ab3bdd42c5080321ae89218a7b (diff) | |
download | bundler-seg-code-climate.tar.gz |
Setup CodeClimateseg-code-climate
Diffstat (limited to 'spec/support/code_climate.rb')
-rw-r--r-- | spec/support/code_climate.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/support/code_climate.rb b/spec/support/code_climate.rb new file mode 100644 index 0000000000..af9bff25b4 --- /dev/null +++ b/spec/support/code_climate.rb @@ -0,0 +1,11 @@ +module Spec + module CodeClimate + def self.setup + require "codeclimate-test-reporter" + ::CodeClimate::TestReporter.start + rescue LoadError + # it's fine if CodeClimate isn't set up + nil + end + end +end |