Skip to content

Commit

Permalink
don't test action mailer on ruby 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tannalynn committed Jan 24, 2023
1 parent 3a82667 commit a41dba4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
if defined?(ActiveSupport) &&
defined?(ActionMailer) &&
ActionMailer.respond_to?(:gem_version) &&
ActionMailer.gem_version >= Gem::Version.new('5.0')
ActionMailer.gem_version >= Gem::Version.new('5.0') && RUBY_VERSION > '2.4.0'
require_relative 'rails/action_mailer_subscriber'
else
puts "Skipping tests in #{__FILE__} because ActionMailer is unavailable"
Expand Down

0 comments on commit a41dba4

Please sign in to comment.