File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
test/actionpack/controller Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ def load!
230230 # request. You can modify this object before sending the HTTP request. For example,
231231 # you might want to set some session properties before sending a GET request.
232232 # <b>@response</b>::
233- # An ActionController ::TestResponse object, representing the response
233+ # An ActionDispatch ::TestResponse object, representing the response
234234 # of the last HTTP response. In the above example, <tt>@response</tt> becomes valid
235235 # after calling +post+. If the various assert methods are not sufficient, then you
236236 # may use this object to inspect the HTTP response in detail.
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def test_helper_for_acronym_controller
151151 assert_equal "test: baz" , call_controller ( Fun ::PdfController , "test" ) . last . body
152152 #
153153 # request = ActionController::TestRequest.new
154- # response = ActionController ::TestResponse.new
154+ # response = ActionDispatch ::TestResponse.new
155155 # request.action = 'test'
156156 #
157157 # assert_equal 'test: baz', Fun::PdfController.process(request, response).body
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def initialize
2525 super
2626 self . class . controller_path = ""
2727 @request = ActionController ::TestRequest . create
28- @response = ActionController ::TestResponse . new
28+ @response = ActionDispatch ::TestResponse . new
2929
3030 @request . env . delete ( 'PATH_INFO' )
3131 @params = { }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def hello_world; render(:template => 'test/hello_world'); end
2424
2525 def setup
2626 @request = ActionController ::TestRequest . create
27- @response = ActionController ::TestResponse . new
27+ @response = ActionDispatch ::TestResponse . new
2828 @controller = TestController . new
2929 @paths = TestController . view_paths
3030 end
You can’t perform that action at this time.
0 commit comments