diff options
author | David Majda <dmajda@suse.cz> | 2011-08-23 14:12:41 +0200 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2011-08-23 15:34:11 +0100 |
commit | 68a13eded347248fb9d4c8ef7f0ed2af52bba994 (patch) | |
tree | a634af9679a62b88dfca7568830b957fc0f90eef /railties/guides/source/contribute.textile | |
parent | ebea387e4bb9f44d8c678ed9bad2ab2091d1f9c6 (diff) | |
download | rails-68a13eded347248fb9d4c8ef7f0ed2af52bba994.tar.gz rails-68a13eded347248fb9d4c8ef7f0ed2af52bba994.tar.bz2 rails-68a13eded347248fb9d4c8ef7f0ed2af52bba994.zip |
Make ActionController::TestCase#recycle! set @protocol to nil
This ensures that the protocol does not get carried over when there are
two or more requests in functional tests. This was a problem when e.g.
the first request was HTTP and the second request was HTTPS.
Closes #2654.
Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
Diffstat (limited to 'railties/guides/source/contribute.textile')
0 files changed, 0 insertions, 0 deletions