Namespace

Module

Methods

Included Modules

Instance Public methods

assigns(key = nil)

📝 Source code
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 28
    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
🔎 See on GitHub

cookies()

📝 Source code
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 42
    def cookies
      @cookie_jar ||= Cookies::CookieJar.build(@request, @request.cookies)
    end
🔎 See on GitHub

flash()

📝 Source code
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 38
    def flash
      @request.flash
    end
🔎 See on GitHub

redirect_to_url()

📝 Source code
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 46
    def redirect_to_url
      @response.redirect_url
    end
🔎 See on GitHub

session()

📝 Source code
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 34
    def session
      @request.session
    end
🔎 See on GitHub