Skip to content

Commit

Permalink
Make dependencies_test pass running standalone [#4215 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: wycats <wycats@gmail.com>
  • Loading branch information
Santiago Pastorino and Sebastian Martinez authored and wycats committed Mar 19, 2010
1 parent 1e2caa5 commit e7276a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/dependencies_test.rb
Expand Up @@ -88,7 +88,7 @@ def test_warnings_should_be_enabled_on_first_load
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)
Expand Down

0 comments on commit e7276a9

Please sign in to comment.