module ActionDispatch::TestProcess
Public Instance Methods
assigns(key = nil)
click to toggle source
# File 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
flash()
click to toggle source
# File lib/action_dispatch/testing/test_process.rb, line 40 def flash @request.flash end
redirect_to_url()
click to toggle source
# File lib/action_dispatch/testing/test_process.rb, line 48 def redirect_to_url @response.redirect_url end
session()
click to toggle source
# File lib/action_dispatch/testing/test_process.rb, line 36 def session @request.session end