diff options
author | Carl Lerche <carllerche@mac.com> | 2009-12-31 10:36:24 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-12-31 11:57:59 -0800 |
commit | 1e41097294b6f966f65909db5c56c9fc21b665f7 (patch) | |
tree | 5174c6a407cf0b513a8854233d0e1ff9d01be693 /railties/test/initializer | |
parent | 783caae52f3c00975490cd40dc849f648c8fa9e1 (diff) | |
download | rails-1e41097294b6f966f65909db5c56c9fc21b665f7.tar.gz rails-1e41097294b6f966f65909db5c56c9fc21b665f7.tar.bz2 rails-1e41097294b6f966f65909db5c56c9fc21b665f7.zip |
Fully remove config.frameworks in favor of requires in boot.rb
Diffstat (limited to 'railties/test/initializer')
-rw-r--r-- | railties/test/initializer/path_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/initializer/path_test.rb b/railties/test/initializer/path_test.rb index 3bbf9617a0..73d1b1a125 100644 --- a/railties/test/initializer/path_test.rb +++ b/railties/test/initializer/path_test.rb @@ -7,14 +7,14 @@ module InitializerTests def setup build_app boot_rails - require "rails" add_to_config <<-RUBY config.root = "#{app_path}" - config.frameworks = [:action_controller, :action_view, :action_mailer, :active_record] config.after_initialize do ActionController::Base.session_store = nil end RUBY + use_frameworks [:action_controller, :action_view, :action_mailer, :active_record] + require "rails" require "#{app_path}/config/environment" @paths = Rails.application.config.paths end |