Skip to content

Commit 2c80728

Browse files
committed
fix(tests) don't run test-reporter in jRuby
1 parent 6ec5f2a commit 2c80728

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test_helper.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
require "codeclimate-test-reporter"
2-
CodeClimate::TestReporter.start
1+
if RUBY_PLATFORM != "java"
2+
require "codeclimate-test-reporter"
3+
CodeClimate::TestReporter.start
4+
end
35

46
# Configure Rails Environment
57
ENV["RAILS_ENV"] = "test"

0 commit comments

Comments
 (0)