Skip to Content Skip to Search
Namespace
Methods
A
C
F
R
S
Included Modules

Instance Public methods

assigns(key = nil)

# 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

cookies()

# File actionpack/lib/action_dispatch/testing/test_process.rb, line 44
def cookies
  @cookie_jar ||= Cookies::CookieJar.build(@request, @request.cookies)
end

flash()

# File actionpack/lib/action_dispatch/testing/test_process.rb, line 40
def flash
  @request.flash
end

redirect_to_url()

# File actionpack/lib/action_dispatch/testing/test_process.rb, line 48
def redirect_to_url
  @response.redirect_url
end

session()

# File actionpack/lib/action_dispatch/testing/test_process.rb, line 36
def session
  @request.session
end