From b8d6e15f943af4c10da0ee3dcd047da0302b832a Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 11 Aug 2016 13:16:07 +0900 Subject: Use `ActiveRecord::TestCase` rather than `ActiveSupport::TestCase` in AR test cases --- activerecord/test/cases/fixtures_test.rb | 2 +- activerecord/test/cases/relation/mutation_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb index f799f1e1fa..24a9894f19 100644 --- a/activerecord/test/cases/fixtures_test.rb +++ b/activerecord/test/cases/fixtures_test.rb @@ -280,7 +280,7 @@ class FixturesTest < ActiveRecord::TestCase end end -class HasManyThroughFixture < ActiveSupport::TestCase +class HasManyThroughFixture < ActiveRecord::TestCase def make_model(name) Class.new(ActiveRecord::Base) { define_singleton_method(:name) { name } } end diff --git a/activerecord/test/cases/relation/mutation_test.rb b/activerecord/test/cases/relation/mutation_test.rb index 018a676a4a..ca5d187819 100644 --- a/activerecord/test/cases/relation/mutation_test.rb +++ b/activerecord/test/cases/relation/mutation_test.rb @@ -2,7 +2,7 @@ require "cases/helper" require "models/post" module ActiveRecord - class RelationMutationTest < ActiveSupport::TestCase + class RelationMutationTest < ActiveRecord::TestCase class FakeKlass < Struct.new(:table_name, :name) extend ActiveRecord::Delegation::DelegateCache inherited self -- cgit v1.2.3