diff options
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 |