diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-04-22 17:20:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-22 17:20:48 -0400 |
commit | b62b038d9aa3593fb2be94a5e187c4f531e67834 (patch) | |
tree | b49b6f204fb3f2f4cb612ba7fd77e8f1ff39ff83 /railties/test | |
parent | 216ef01d149e379478b67f517d7b970055339085 (diff) | |
download | rails-b62b038d9aa3593fb2be94a5e187c4f531e67834.tar.gz rails-b62b038d9aa3593fb2be94a5e187c4f531e67834.tar.bz2 rails-b62b038d9aa3593fb2be94a5e187c4f531e67834.zip |
Revert "Include Caching module for ActionController::API"
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/configuration_test.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 0ddf299875..62d9b1c813 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -2216,19 +2216,6 @@ module ApplicationTests assert_equal :default, Rails.configuration.debug_exception_response_format end - test "action_controller.cache_store works for api_only app as well" do - add_to_config <<-RUBY - config.api_only = true - config.action_controller.cache_store = :memory_store - RUBY - - app "development" - - api_controller = Class.new(ActionController::API) - - assert_equal(api_controller.cache_store.class, ActiveSupport::Cache::MemoryStore) - end - test "controller force_ssl declaration can be used even if session_store is disabled" do make_basic_app do |application| application.config.session_store :disabled |