lib/gon/spec_helpers.rb in gon-5.2.3 vs lib/gon/spec_helpers.rb in gon-6.0.0

- old
+ new

@@ -7,10 +7,10 @@ module GonSession def process(*) # preload threadlocal & store controller instance if controller.is_a? ActionController::Base controller.gon - Gon.send(:current_gon).env[Gon::Base::ENV_CONTROLLER_KEY] = + Gon.send(:current_gon).env[Gon::EnvFinder::ENV_CONTROLLER_KEY] = controller end super end end