From 4d4f0e6490e0523c4bf45e433e9d27ac9ce4da1e Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Tue, 7 Mar 2006 17:58:34 +0000 Subject: [PATCH] Make IntegrationTest refer to superclass properties using copy-on-write git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../lib/action_controller/integration_test.rb | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/actionpack/lib/action_controller/integration_test.rb b/actionpack/lib/action_controller/integration_test.rb index 955b4a0f28..d4c1c85c22 100644 --- a/actionpack/lib/action_controller/integration_test.rb +++ b/actionpack/lib/action_controller/integration_test.rb @@ -414,6 +414,37 @@ module ActionController super end + # Because of how use_instantiated_fixtures and use_transactional_fixtures + # are defined, we need to treat them as special cases. Otherwise, users + # would potentially have to set their values for both Test::Unit::TestCase + # ActionController::IntegrationTest, since by the time the value is set on + # TestCase, IntegrationTest has already been defined and cannot inherit + # changes to those variables. So, we make those two attributes copy-on-write. + + class<