Source: show | on GitHub
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 30 def assigns(key = nil) raise NoMethodError, "assigns has been extracted to a gem. To continue using it, add `gem 'rails-controller-testing'` to your Gemfile." end
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 44 def cookies @cookie_jar ||= Cookies::CookieJar.build(@request, @request.cookies) end
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 40 def flash @request.flash end
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 48 def redirect_to_url @response.redirect_url end
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 36 def session @request.session end