diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-17 09:04:21 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-17 09:04:21 -0800 |
commit | ee190b8e6db5a11beb682ee3487b605d7608ff17 (patch) | |
tree | 2346d33a3dab765d501e357a242a6656844b113b /railties/test | |
parent | 98081cbe06c389bb022d777ce03a7054061ceca5 (diff) | |
parent | 6f8159c4217dc8433a2027ced0c61e7ce94551d3 (diff) | |
download | rails-ee190b8e6db5a11beb682ee3487b605d7608ff17.tar.gz rails-ee190b8e6db5a11beb682ee3487b605d7608ff17.tar.bz2 rails-ee190b8e6db5a11beb682ee3487b605d7608ff17.zip |
Merge pull request #4500 from kennyj/should_deprecate_rails_cache
[Proposal] We should deprecate the RAILS_CACHE constant.
Diffstat (limited to 'railties/test')
-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 |