From 0b84af9599d624f563a41bc13ed318ddc457efb1 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 19 Dec 2007 21:16:27 +0000 Subject: Revert [8392]. Closes #10568, reopens #10379. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures_test.rb | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'activerecord/test') diff --git a/activerecord/test/fixtures_test.rb b/activerecord/test/fixtures_test.rb index deeb391e3a..c1e79b807f 100755 --- a/activerecord/test/fixtures_test.rb +++ b/activerecord/test/fixtures_test.rb @@ -324,22 +324,6 @@ class MultipleFixturesTest < Test::Unit::TestCase end end -# This is to reproduce a bug where if a TestCase is loaded -# twice by Ruby, it loses its fixture setup hook. -class_def = <<-CODE - class DoubleLoadedTestCase < Test::Unit::TestCase - fixtures :topics - - def setup - end - - def test_should_properly_setup_fixtures - assert_nothing_raised { topics(:first) } - end - end -CODE -2.times { eval(class_def) } - class OverlappingFixturesTest < Test::Unit::TestCase fixtures :topics, :developers fixtures :developers, :accounts -- cgit v1.2.3