aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/association_inheritance_reload.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/association_inheritance_reload.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/association_inheritance_reload.rb')
-rw-r--r--activerecord/test/association_inheritance_reload.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/activerecord/test/association_inheritance_reload.rb b/activerecord/test/association_inheritance_reload.rb
deleted file mode 100644
index 5577f86eb3..0000000000
--- a/activerecord/test/association_inheritance_reload.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-require 'abstract_unit'
-require 'fixtures/company'
-
-class AssociationInheritanceReloadTest < ActiveSupport::TestCase
- fixtures :companies
-
- def test_set_attributes
- assert_equal ["errors.add_on_empty('name', \"can't be empty\")"], Firm.read_inheritable_attribute("validate"), "Second run"
- # ActiveRecord::Base.reset_column_information_and_inheritable_attributes_for_all_subclasses
- remove_subclass_of(ActiveRecord::Base)
- load 'fixtures/company.rb'
- assert_equal ["errors.add_on_empty('name', \"can't be empty\")"], Firm.read_inheritable_attribute("validate"), "Second run"
- end
-end \ No newline at end of file