Skip to content

Commit

Permalink
fix Minitest case
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin committed Aug 24, 2023
1 parent 33e433a commit c038be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/paranoia_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'minitest/autorun'
require 'paranoia'

test_framework = defined?(MiniTest::Test) ? MiniTest::Test : MiniTest::Unit::TestCase
test_framework = defined?(Minitest::Test) ? Minitest::Test : Minitest::Unit::TestCase

if ActiveRecord::Base.respond_to?(:raise_in_transactional_callbacks=)
ActiveRecord::Base.raise_in_transactional_callbacks = true
Expand Down

0 comments on commit c038be3

Please sign in to comment.