aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-01-21 17:20:51 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-01-21 17:20:51 +0000
commit39814fcce0b429eb06654600e4669f1405ffa7d9 (patch)
treebc5cbe7888b3c31b1e2a92f246512218014fdf76 /activerecord/test/cases/associations_test.rb
parent1d4f4cdfe22cbe4962ae8953c96bc5c70d8d4e6a (diff)
downloadrails-39814fcce0b429eb06654600e4669f1405ffa7d9.tar.gz
rails-39814fcce0b429eb06654600e4669f1405ffa7d9.tar.bz2
rails-39814fcce0b429eb06654600e4669f1405ffa7d9.zip
Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/cases/associations_test.rb')
-rwxr-xr-xactiverecord/test/cases/associations_test.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/activerecord/test/cases/associations_test.rb b/activerecord/test/cases/associations_test.rb
index 301f8a6e2c..a15abf90a6 100755
--- a/activerecord/test/cases/associations_test.rb
+++ b/activerecord/test/cases/associations_test.rb
@@ -1,4 +1,4 @@
-require 'abstract_unit'
+require "cases/helper"
require 'models/developer'
require 'models/project'
require 'models/company'
@@ -17,7 +17,7 @@ require 'models/tagging'
require 'models/person'
require 'models/reader'
-class AssociationsTest < ActiveSupport::TestCase
+class AssociationsTest < ActiveRecord::TestCase
fixtures :accounts, :companies, :developers, :projects, :developers_projects,
:computers
@@ -78,7 +78,7 @@ class AssociationsTest < ActiveSupport::TestCase
end
end
-class AssociationProxyTest < ActiveSupport::TestCase
+class AssociationProxyTest < ActiveRecord::TestCase
fixtures :authors, :posts, :categorizations, :categories, :developers, :projects, :developers_projects
def test_proxy_accessors
@@ -171,7 +171,7 @@ class AssociationProxyTest < ActiveSupport::TestCase
end
end
-class HasOneAssociationsTest < ActiveSupport::TestCase
+class HasOneAssociationsTest < ActiveRecord::TestCase
fixtures :accounts, :companies, :developers, :projects, :developers_projects
def setup
@@ -468,7 +468,7 @@ class HasOneAssociationsTest < ActiveSupport::TestCase
end
-class HasManyAssociationsTest < ActiveSupport::TestCase
+class HasManyAssociationsTest < ActiveRecord::TestCase
fixtures :accounts, :companies, :developers, :projects,
:developers_projects, :topics, :authors, :comments, :author_addresses
@@ -1218,7 +1218,7 @@ class HasManyAssociationsTest < ActiveSupport::TestCase
end
-class BelongsToAssociationsTest < ActiveSupport::TestCase
+class BelongsToAssociationsTest < ActiveRecord::TestCase
fixtures :accounts, :companies, :developers, :projects, :topics,
:developers_projects, :computers, :authors, :posts, :tags, :taggings
@@ -1594,7 +1594,7 @@ class DeveloperForProjectWithAfterCreateHook < ActiveRecord::Base
end
-class HasAndBelongsToManyAssociationsTest < ActiveSupport::TestCase
+class HasAndBelongsToManyAssociationsTest < ActiveRecord::TestCase
fixtures :accounts, :companies, :categories, :posts, :categories_posts, :developers, :projects, :developers_projects
def test_has_and_belongs_to_many
@@ -2134,7 +2134,7 @@ class HasAndBelongsToManyAssociationsTest < ActiveSupport::TestCase
end
-class OverridingAssociationsTest < ActiveSupport::TestCase
+class OverridingAssociationsTest < ActiveRecord::TestCase
class Person < ActiveRecord::Base; end
class DifferentPerson < ActiveRecord::Base; end