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:
parent
303567e554
commit
4cf3b8ac47
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue