aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/base_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-07-08 14:14:59 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-07-08 14:15:53 -0700
commit460079a7717281bb5a20eab0239215f8e0e71de6 (patch)
tree5a7362dcb7474c39cbedb3d74e04aa3e9e2f5e50 /actionpack/test/controller/base_test.rb
parent0f62e3ecf4124ce9f38ea57479bd7252a76ebb15 (diff)
downloadrails-460079a7717281bb5a20eab0239215f8e0e71de6.tar.gz
rails-460079a7717281bb5a20eab0239215f8e0e71de6.tar.bz2
rails-460079a7717281bb5a20eab0239215f8e0e71de6.zip
let the superclass build the request and response
We should leverage the request / response objects that the superclass has already allocated for us.
Diffstat (limited to 'actionpack/test/controller/base_test.rb')
-rw-r--r--actionpack/test/controller/base_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/test/controller/base_test.rb b/actionpack/test/controller/base_test.rb
index 3240185414..b7fe253de7 100644
--- a/actionpack/test/controller/base_test.rb
+++ b/actionpack/test/controller/base_test.rb
@@ -127,8 +127,6 @@ class PerformActionTest < ActionController::TestCase
# a more accurate simulation of what happens in "real life".
@controller.logger = ActiveSupport::Logger.new(nil)
- @request = ActionController::TestRequest.new
- @response = ActionController::TestResponse.new
@request.host = "www.nextangle.com"
end