aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/associations')
-rw-r--r--activerecord/test/associations/callbacks_test.rb2
-rw-r--r--activerecord/test/associations/cascaded_eager_loading_test.rb4
-rw-r--r--activerecord/test/associations/eager_singularization_test.rb2
-rw-r--r--activerecord/test/associations/eager_test.rb2
-rw-r--r--activerecord/test/associations/extension_test.rb2
-rw-r--r--activerecord/test/associations/inner_join_association_test.rb2
-rw-r--r--activerecord/test/associations/join_model_test.rb2
7 files changed, 8 insertions, 8 deletions
diff --git a/activerecord/test/associations/callbacks_test.rb b/activerecord/test/associations/callbacks_test.rb
index 6df8718e28..29f93788e5 100644
--- a/activerecord/test/associations/callbacks_test.rb
+++ b/activerecord/test/associations/callbacks_test.rb
@@ -6,7 +6,7 @@ require 'fixtures/category'
require 'fixtures/project'
require 'fixtures/developer'
-class AssociationCallbacksTest < Test::Unit::TestCase
+class AssociationCallbacksTest < ActiveSupport::TestCase
fixtures :posts, :authors, :projects, :developers
def setup
diff --git a/activerecord/test/associations/cascaded_eager_loading_test.rb b/activerecord/test/associations/cascaded_eager_loading_test.rb
index 6361d584ab..9d6dffbd48 100644
--- a/activerecord/test/associations/cascaded_eager_loading_test.rb
+++ b/activerecord/test/associations/cascaded_eager_loading_test.rb
@@ -8,7 +8,7 @@ require 'fixtures/company'
require 'fixtures/topic'
require 'fixtures/reply'
-class CascadedEagerLoadingTest < Test::Unit::TestCase
+class CascadedEagerLoadingTest < ActiveSupport::TestCase
fixtures :authors, :mixins, :companies, :posts, :topics
def test_eager_association_loading_with_cascaded_two_levels
@@ -95,7 +95,7 @@ end
require 'fixtures/vertex'
require 'fixtures/edge'
-class CascadedEagerLoadingTest < Test::Unit::TestCase
+class CascadedEagerLoadingTest < ActiveSupport::TestCase
fixtures :edges, :vertices
def test_eager_association_loading_with_recursive_cascading_four_levels_has_many_through
diff --git a/activerecord/test/associations/eager_singularization_test.rb b/activerecord/test/associations/eager_singularization_test.rb
index 72164c4f1a..2990684afc 100644
--- a/activerecord/test/associations/eager_singularization_test.rb
+++ b/activerecord/test/associations/eager_singularization_test.rb
@@ -39,7 +39,7 @@ class Compress < ActiveRecord::Base
end
-class EagerSingularizationTest < Test::Unit::TestCase
+class EagerSingularizationTest < ActiveSupport::TestCase
def setup
if ActiveRecord::Base.connection.supports_migrations?
diff --git a/activerecord/test/associations/eager_test.rb b/activerecord/test/associations/eager_test.rb
index 69b1584b63..bdadada3f4 100644
--- a/activerecord/test/associations/eager_test.rb
+++ b/activerecord/test/associations/eager_test.rb
@@ -7,7 +7,7 @@ require 'fixtures/company'
require 'fixtures/person'
require 'fixtures/reader'
-class EagerAssociationTest < Test::Unit::TestCase
+class EagerAssociationTest < ActiveSupport::TestCase
fixtures :posts, :comments, :authors, :categories, :categories_posts,
:companies, :accounts, :tags, :people, :readers
diff --git a/activerecord/test/associations/extension_test.rb b/activerecord/test/associations/extension_test.rb
index 67a9ee02ad..3749f7ac41 100644
--- a/activerecord/test/associations/extension_test.rb
+++ b/activerecord/test/associations/extension_test.rb
@@ -4,7 +4,7 @@ require 'fixtures/comment'
require 'fixtures/project'
require 'fixtures/developer'
-class AssociationsExtensionsTest < Test::Unit::TestCase
+class AssociationsExtensionsTest < ActiveSupport::TestCase
fixtures :projects, :developers, :developers_projects, :comments, :posts
def test_extension_on_has_many
diff --git a/activerecord/test/associations/inner_join_association_test.rb b/activerecord/test/associations/inner_join_association_test.rb
index d2ba4ef634..b108ee560c 100644
--- a/activerecord/test/associations/inner_join_association_test.rb
+++ b/activerecord/test/associations/inner_join_association_test.rb
@@ -5,7 +5,7 @@ require 'fixtures/author'
require 'fixtures/category'
require 'fixtures/categorization'
-class InnerJoinAssociationTest < Test::Unit::TestCase
+class InnerJoinAssociationTest < ActiveSupport::TestCase
fixtures :authors, :posts, :comments, :categories, :categories_posts, :categorizations
def test_construct_finder_sql_creates_inner_joins
diff --git a/activerecord/test/associations/join_model_test.rb b/activerecord/test/associations/join_model_test.rb
index b970d054c4..d55faf70c6 100644
--- a/activerecord/test/associations/join_model_test.rb
+++ b/activerecord/test/associations/join_model_test.rb
@@ -12,7 +12,7 @@ require 'fixtures/edge'
require 'fixtures/book'
require 'fixtures/citation'
-class AssociationsJoinModelTest < Test::Unit::TestCase
+class AssociationsJoinModelTest < ActiveSupport::TestCase
self.use_transactional_fixtures = false
fixtures :posts, :authors, :categories, :categorizations, :comments, :tags, :taggings, :author_favorites, :vertices, :items, :books