1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

there is always an integration session, so remove the check

This commit is contained in:
Aaron Patterson 2015-02-12 12:09:03 -08:00
parent 303567e554
commit 4cf3b8ac47

View file

@ -457,7 +457,6 @@ module ActionDispatch
# Copy the instance variables from the current session instance into the
# test instance.
def copy_session_variables! #:nodoc:
return unless integration_session
%w(controller response request).each do |var|
instance_variable_set("@#{var}", @integration_session.__send__(var))
end