Source: show | on GitHub
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 35 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 49 def cookies @cookie_jar ||= Cookies::CookieJar.build(@request, @request.cookies) end
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 45 def flash @request.flash end
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 53 def redirect_to_url @response.redirect_url end
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 41 def session @request.session end