Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Silence warning: instance variable @integration_session not initialized

  • Loading branch information...
commit ea345a540f7be0fa792026d7198db6d49b6d4770 1 parent ae5e2f5
@brynary brynary authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 actionpack/lib/action_controller/integration.rb
View
5 actionpack/lib/action_controller/integration.rb
@@ -479,6 +479,11 @@ def new_with_capture(*args)
end
module Runner
+ def initialize(*args)
+ super
+ @integration_session = nil
+ end
+
# Reset the current session. This is useful for testing multiple sessions
# in a single test case.
def reset!
Please sign in to comment.
Something went wrong with that request. Please try again.