aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/response_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-02-12 12:04:23 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2015-02-12 12:04:23 -0800
commit303567e554de26822f3107be55c471d6477a745f (patch)
tree13c7fbc71d9434b93393d89d75c72fd9b8547961 /actionpack/test/dispatch/response_test.rb
parentfa63448420d3385dbd043aca22dba973b45b8bb2 (diff)
downloadrails-303567e554de26822f3107be55c471d6477a745f.tar.gz
rails-303567e554de26822f3107be55c471d6477a745f.tar.bz2
rails-303567e554de26822f3107be55c471d6477a745f.zip
lazily create the integration session
now we don't have to call reset! everywhere
Diffstat (limited to 'actionpack/test/dispatch/response_test.rb')
-rw-r--r--actionpack/test/dispatch/response_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/test/dispatch/response_test.rb b/actionpack/test/dispatch/response_test.rb
index c61423dce4..5fbd19acdf 100644
--- a/actionpack/test/dispatch/response_test.rb
+++ b/actionpack/test/dispatch/response_test.rb
@@ -254,10 +254,6 @@ class ResponseTest < ActiveSupport::TestCase
end
class ResponseIntegrationTest < ActionDispatch::IntegrationTest
- def app
- @app
- end
-
test "response cache control from railsish app" do
@app = lambda { |env|
ActionDispatch::Response.new.tap { |resp|