Module: Gon::SpecHelper::Rails::ClassMethods::GonSession
- Defined in:
- lib/gon/spec_helpers.rb
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
8 9 10 11 12 13 |
# File 'lib/gon/spec_helpers.rb', line 8 def process(*) # preload threadlocal & store controller instance controller.gon Gon.send(:current_gon).env[Gon::Base::ENV_CONTROLLER_KEY] = controller super end |