summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2019-11-24 16:37:31 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2019-11-24 16:37:31 +0100
commit70ea6b742137f97efd1ce02f0e16599cd1258f58 (patch)
tree4922a7355a0dce328f286d8d035f1abc6e0a933c /spec/spec_helper.rb
parent69ec4d90ee666563d32341f81b388dd25c3cbbff (diff)
downloadcoderay-70ea6b742137f97efd1ce02f0e16599cd1258f58.tar.gz
actually, we only need to disable SimpleCov
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 66f4127..78a60b2 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,7 @@
-require 'simplecov'
-SimpleCov.start
+unless RUBY_VERSION[/^2.3/]
+ require 'simplecov'
+ SimpleCov.start
+end
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.