From ac2bc00482c1cf47a57477edb6ab1426a3ba593c Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Wed, 2 May 2018 01:08:48 +0900 Subject: `require "active_support/test_case"` is not supported since 53e877f7 It will cause "undefined method `test_order' for ActiveSupport:Module (NoMethodError)". https://travis-ci.org/rails/rails/jobs/373472604#L1208 --- activerecord/test/cases/arel/helper.rb | 2 +- activerecord/test/cases/test_case.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activerecord/test/cases/arel/helper.rb b/activerecord/test/cases/arel/helper.rb index 15cfd44e87..486644a628 100644 --- a/activerecord/test/cases/arel/helper.rb +++ b/activerecord/test/cases/arel/helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require "active_support/test_case" +require "active_support" require "rubygems" require "minitest/autorun" require "arel" diff --git a/activerecord/test/cases/test_case.rb b/activerecord/test/cases/test_case.rb index 024b5bd8a1..409b07e56c 100644 --- a/activerecord/test/cases/test_case.rb +++ b/activerecord/test/cases/test_case.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require "active_support/test_case" +require "active_support" require "active_support/testing/autorun" require "active_support/testing/method_call_assertions" require "active_support/testing/stream" -- cgit v1.2.3