module ActionDispatch::TestProcess

Public Instance Methods

assigns(key = nil) click to toggle source
# File lib/action_dispatch/testing/test_process.rb, line 53
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
cookies() click to toggle source
# File lib/action_dispatch/testing/test_process.rb, line 67
def cookies
  @cookie_jar ||= Cookies::CookieJar.build(@request, @request.cookies)
end
flash() click to toggle source
# File lib/action_dispatch/testing/test_process.rb, line 63
def flash
  @request.flash
end
redirect_to_url() click to toggle source
# File lib/action_dispatch/testing/test_process.rb, line 71
def redirect_to_url
  @response.redirect_url
end
session() click to toggle source
# File lib/action_dispatch/testing/test_process.rb, line 59
def session
  @request.session
end