diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-04 17:47:13 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-04 18:17:03 -0300 |
commit | a216f918b2deeded17d65e4020ae98f0c4b349db (patch) | |
tree | 06379adb0b05adff1f2e24ec1e0d4afed23edfaf /railties/test/application | |
parent | 98c372b80b106010251429b6a1e7f3742bee9630 (diff) | |
download | rails-a216f918b2deeded17d65e4020ae98f0c4b349db.tar.gz rails-a216f918b2deeded17d65e4020ae98f0c4b349db.tar.bz2 rails-a216f918b2deeded17d65e4020ae98f0c4b349db.zip |
Remove action cache related tests
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/configuration_test.rb | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index ac41e01616..07d47dc67b 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -332,27 +332,6 @@ module ApplicationTests assert last_response.body =~ /_xsrf_token_here/ end - test "config.action_controller.perform_caching = true" do - make_basic_app do |app| - app.config.action_controller.perform_caching = true - end - - class ::OmgController < ActionController::Base - @@count = 0 - - caches_action :index - def index - @@count += 1 - render :text => @@count - end - end - - get "/" - res = last_response.body - get "/" - assert_equal res, last_response.body # value should be unchanged - end - test "sets ActionDispatch.test_app" do make_basic_app assert_equal Rails.application, ActionDispatch.test_app @@ -462,27 +441,6 @@ module ApplicationTests end end - test "config.action_controller.perform_caching = false" do - make_basic_app do |app| - app.config.action_controller.perform_caching = false - end - - class ::OmgController < ActionController::Base - @@count = 0 - - caches_action :index - def index - @@count += 1 - render :text => @@count - end - end - - get "/" - res = last_response.body - get "/" - assert_not_equal res, last_response.body - end - test "config.asset_path is not passed through env" do make_basic_app do |app| app.config.asset_path = "/omg%s" |