Skip to content

Commit

Permalink
Fix minitest guard for rails 4 breaking specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Branham committed Jan 20, 2024
1 parent 6bab9de commit fdaa213
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,10 @@
end

require 'minitest/autorun'

# Rails 4.0.x pins to an old minitest
unless defined?(MiniTest::Test)
MiniTest::Test = MiniTest::Unit::TestCase
end

require 'active_record'
require 'digest/sha2'
require 'sequel'

if ActiveRecord.respond_to?(:deprecator)
ActiveRecord.deprecator.behavior = :raise
else
Expand Down

0 comments on commit fdaa213

Please sign in to comment.