diff options
author | Xavier Noria <fxn@hashref.com> | 2011-03-25 23:12:09 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-04-13 13:23:18 +0200 |
commit | 5850f1693546f14420bf0bc630a48650f0d606d5 (patch) | |
tree | 0e7e1b631c5d4e0b85af3b448f39dbf4cb483cb8 /actionpack/test/controller/caching_test.rb | |
parent | eea66892c80d51c1b959171c2e3feac67124aaba (diff) | |
download | rails-5850f1693546f14420bf0bc630a48650f0d606d5.tar.gz rails-5850f1693546f14420bf0bc630a48650f0d606d5.tar.bz2 rails-5850f1693546f14420bf0bc630a48650f0d606d5.zip |
removes the RJS template handler
Diffstat (limited to 'actionpack/test/controller/caching_test.rb')
-rw-r--r-- | actionpack/test/controller/caching_test.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index 01f3e8f2b6..fada0c7748 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -713,17 +713,10 @@ class FunctionalCachingController < CachingController end end - def js_fragment_cached_with_partial - respond_to do |format| - format.js - end - end - def formatted_fragment_cached respond_to do |format| format.html format.xml - format.js end end @@ -770,13 +763,6 @@ CACHED assert_match("Some cached content", @store.read('views/test.host/functional_caching/inline_fragment_cached')) end - def test_fragment_caching_in_rjs_partials - xhr :get, :js_fragment_cached_with_partial - assert_response :success - assert_match(/Old fragment caching in a partial/, @response.body) - assert_match("Old fragment caching in a partial", @store.read('views/test.host/functional_caching/js_fragment_cached_with_partial')) - end - def test_html_formatted_fragment_caching get :formatted_fragment_cached, :format => "html" assert_response :success |