module Gon::SpecHelper::Rails::ClassMethods::GonSession
Public Instance Methods
process(*, **)
click to toggle source
Calls superclass method
# File lib/gon/spec_helpers.rb, line 8 def process(*, **) # preload threadlocal & store controller instance if controller.is_a? ActionController::Base controller.gon Gon.send(:current_gon).env[Gon::EnvFinder::ENV_CONTROLLER_KEY] = controller end super end