Skip to content

Commit

Permalink
Fix 7.2 prerelease comparsion
Browse files Browse the repository at this point in the history
  • Loading branch information
smudge committed Apr 5, 2024
1 parent fa13203 commit f0ba6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/delayed/active_job_adapter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def perform(arg, kwarg:)
end
end

if ActiveJob.gem_version > Gem::Version.new('7.1')
if ActiveJob.gem_version.release >= Gem::Version.new('7.2')
context 'when the given job sets enqueue_after_transaction_commit to true' do
before do
JobClass.include ActiveJob::EnqueueAfterTransactionCommit # normally run in an ActiveJob railtie
Expand Down

0 comments on commit f0ba6ae

Please sign in to comment.