diff options
author | Santiago Pastorino and Sebastian Martinez <santiago+sebastian@wyeworks.com> | 2010-03-18 18:59:50 -0300 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-18 17:50:28 -0700 |
commit | e7276a9f099b0229ac76422f8341d5d91dad8872 (patch) | |
tree | c6ea14cf32d7bfdb389677f2df7954fe6a8d01bd | |
parent | 1e2caa5d52b9f367a1d7dc51d063a7ab1444b712 (diff) | |
download | rails-e7276a9f099b0229ac76422f8341d5d91dad8872.tar.gz rails-e7276a9f099b0229ac76422f8341d5d91dad8872.tar.bz2 rails-e7276a9f099b0229ac76422f8341d5d91dad8872.zip |
Make dependencies_test pass running standalone [#4215 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
-rw-r--r-- | activesupport/test/dependencies_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb index 6ff6dfb607..2cbf9e5042 100644 --- a/activesupport/test/dependencies_test.rb +++ b/activesupport/test/dependencies_test.rb @@ -88,7 +88,7 @@ class DependenciesTest < Test::Unit::TestCase old_warnings, ActiveSupport::Dependencies.warnings_on_first_load = ActiveSupport::Dependencies.warnings_on_first_load, true filename = "check_warnings" - expanded = File.expand_path("test/dependencies/#{filename}") + expanded = File.expand_path("#{File.dirname(__FILE__)}/dependencies/#{filename}") $check_warnings_load_count = 0 assert !ActiveSupport::Dependencies.loaded.include?(expanded) |