diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-17 20:39:49 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-17 20:39:49 -0300 |
commit | 7f7e2f12ab835526c6914843b983619ed12c9b68 (patch) | |
tree | 6a6f54f377e630211c076bc81b8564d1e2fa5a49 /railties | |
parent | 8de4d61dc20574c868f342911696a08264898c20 (diff) | |
download | rails-7f7e2f12ab835526c6914843b983619ed12c9b68.tar.gz rails-7f7e2f12ab835526c6914843b983619ed12c9b68.tar.bz2 rails-7f7e2f12ab835526c6914843b983619ed12c9b68.zip |
initialize the right variable
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/railties/railtie_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/railties/railtie_test.rb b/railties/test/railties/railtie_test.rb index a458240d2f..5042d628cf 100644 --- a/railties/test/railties/railtie_test.rb +++ b/railties/test/railties/railtie_test.rb @@ -73,7 +73,7 @@ module RailtiesTest end test "railtie have access to application in before_configuration callbacks" do - $after_initialize = false + $before_configuration = false class Foo < Rails::Railtie ; config.before_configuration { $before_configuration = Rails.root.to_path } ; end assert_not $before_configuration require "#{app_path}/config/environment" |