Reset @html_document between requests so assert_tag works. Closes #4810.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2006-07-08 04:58:55 +00:00
parent e5cbb849f9
commit eede40bcf0
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
*SVN*
* Reset @html_document between requests so assert_tag works. #4810 [jarkko@jlaine.net, easleydp@gmail.com]
* Update render :partial documentation. #5646 [matt@mattmargolis.net]
* Integration tests behave well with render_component. #4632 [edward.frederick@revolution.com, dev.rubyonrails@maxdunn.com]

View File

@@ -250,6 +250,8 @@ module ActionController
# tests.
@response.extend(TestResponseBehavior)
@html_document = nil
parse_result
return status
end