From 1e2caa5d52b9f367a1d7dc51d063a7ab1444b712 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino and Sebastian Martinez Date: Thu, 18 Mar 2010 18:59:13 -0300 Subject: Added missing requires abstract_unit and activesupport to the loadpath of ts_isolated [#4215 state:committed] Signed-off-by: wycats --- activesupport/test/callback_inheritance_test.rb | 1 + activesupport/test/callbacks_test.rb | 2 +- activesupport/test/flush_cache_on_private_memoization_test.rb | 1 + activesupport/test/ts_isolated.rb | 4 +++- 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'activesupport') diff --git a/activesupport/test/callback_inheritance_test.rb b/activesupport/test/callback_inheritance_test.rb index e74c64ba8d..8caf000c5d 100644 --- a/activesupport/test/callback_inheritance_test.rb +++ b/activesupport/test/callback_inheritance_test.rb @@ -1,3 +1,4 @@ +require 'abstract_unit' require 'test/unit' require 'active_support' diff --git a/activesupport/test/callbacks_test.rb b/activesupport/test/callbacks_test.rb index 3fb940ad3c..49d9de63b0 100644 --- a/activesupport/test/callbacks_test.rb +++ b/activesupport/test/callbacks_test.rb @@ -1,4 +1,4 @@ -# require 'abstract_unit' +require 'abstract_unit' require 'test/unit' require 'active_support' diff --git a/activesupport/test/flush_cache_on_private_memoization_test.rb b/activesupport/test/flush_cache_on_private_memoization_test.rb index 1cd313ec81..91b856ed7c 100644 --- a/activesupport/test/flush_cache_on_private_memoization_test.rb +++ b/activesupport/test/flush_cache_on_private_memoization_test.rb @@ -1,3 +1,4 @@ +require 'abstract_unit' require 'active_support' require 'test/unit' diff --git a/activesupport/test/ts_isolated.rb b/activesupport/test/ts_isolated.rb index fc1bbd6e3d..58710e0165 100644 --- a/activesupport/test/ts_isolated.rb +++ b/activesupport/test/ts_isolated.rb @@ -1,6 +1,8 @@ +$:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib') + require 'test/unit' require 'rbconfig' -require 'lib/active_support/core_ext/kernel/reporting' +require 'active_support/core_ext/kernel/reporting' class TestIsolated < Test::Unit::TestCase ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) -- cgit v1.2.3