diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-26 11:52:55 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-26 11:53:15 -0700 |
commit | d47438745e34d75e03347b54b604b71b7a92c3ac (patch) | |
tree | 800d034cb6cf4ca2c90fa9ae93743bf0369ff709 /actionpack/test | |
parent | 6570ab7af8810d5415993310c80a550e32f6bc6d (diff) | |
download | rails-d47438745e34d75e03347b54b604b71b7a92c3ac.tar.gz rails-d47438745e34d75e03347b54b604b71b7a92c3ac.tar.bz2 rails-d47438745e34d75e03347b54b604b71b7a92c3ac.zip |
remove RackDelegation module
Since all controller instances are required to have a request and
response object, RackDelegation is no longer needed (we always have to
delegate to the response)
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/new_base/bare_metal_test.rb | 2 | ||||
-rw-r--r-- | actionpack/test/controller/render_test.rb | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/test/controller/new_base/bare_metal_test.rb b/actionpack/test/controller/new_base/bare_metal_test.rb index 77c9c13e96..e61f4d241b 100644 --- a/actionpack/test/controller/new_base/bare_metal_test.rb +++ b/actionpack/test/controller/new_base/bare_metal_test.rb @@ -2,8 +2,6 @@ require "abstract_unit" module BareMetalTest class BareController < ActionController::Metal - include ActionController::RackDelegation - def index self.response_body = "Hello world" end diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb index 4a6086cf78..82c7ebf568 100644 --- a/actionpack/test/controller/render_test.rb +++ b/actionpack/test/controller/render_test.rb @@ -234,8 +234,6 @@ class MetalTestController < ActionController::Metal include AbstractController::Rendering include ActionView::Rendering include ActionController::Rendering - include ActionController::RackDelegation - def accessing_logger_in_template render :inline => "<%= logger.class %>" |