diff options
author | kennyj <kennyj@gmail.com> | 2012-01-18 01:53:09 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-01-18 01:53:09 +0900 |
commit | 6f8159c4217dc8433a2027ced0c61e7ce94551d3 (patch) | |
tree | d61c8f237d88fd5f8702a98f128e0d9ea58ae393 /railties/test/application | |
parent | 4280b20cde6d0ec4694f25288832d098c83cceba (diff) | |
download | rails-6f8159c4217dc8433a2027ced0c61e7ce94551d3.tar.gz rails-6f8159c4217dc8433a2027ced0c61e7ce94551d3.tar.bz2 rails-6f8159c4217dc8433a2027ced0c61e7ce94551d3.zip |
Deprecate RAILS_CACHE constant.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/middleware_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/middleware_test.rb b/railties/test/application/middleware_test.rb index 2f1df1fa59..d0a550d2f0 100644 --- a/railties/test/application/middleware_test.rb +++ b/railties/test/application/middleware_test.rb @@ -132,13 +132,13 @@ module ApplicationTests assert_equal "Rack::Config", middleware.second end - test "RAILS_CACHE does not respond to middleware" do + test "Rails.cache does not respond to middleware" do add_to_config "config.cache_store = :memory_store" boot! assert_equal "Rack::Runtime", middleware.third end - test "RAILS_CACHE does respond to middleware" do + test "Rails.cache does respond to middleware" do boot! assert_equal "Rack::Runtime", middleware.fourth end |