Skip to content

Commit

Permalink
Only load coveralls for ruby > 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Sep 17, 2023
1 parent 544c88c commit 452474e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/spec_helper.rb
@@ -1,5 +1,7 @@
require 'coveralls'
Coveralls.wear!
if Gem::Version.new(RUBY_VERSION) > Gem::Version.new("2.4")
require 'coveralls'
Coveralls.wear!
end

require 'webmock/rspec'
require File.expand_path('../../lib/stripe_event', __FILE__)
Expand Down

0 comments on commit 452474e

Please sign in to comment.