Skip to content

Commit

Permalink
Fix minitest guard for rails 4 breaking specs (#448)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Branham <joshbranham@sophie-mba.local>
  • Loading branch information
joshbranham and Josh Branham committed Jan 22, 2024
1 parent 6bab9de commit d93c017
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/test_helper.rb
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 d93c017

Please sign in to comment.