aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-04-22 17:20:48 -0400
committerGitHub <noreply@github.com>2019-04-22 17:20:48 -0400
commitb62b038d9aa3593fb2be94a5e187c4f531e67834 (patch)
treeb49b6f204fb3f2f4cb612ba7fd77e8f1ff39ff83 /railties/test
parent216ef01d149e379478b67f517d7b970055339085 (diff)
downloadrails-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.rb13
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