Permalink
Browse files

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
  • Loading branch information...
1 parent e5cbb84 commit eede40bcf00d1b6f1bee7f105d18ba3bc17ff306 @jeremy jeremy committed Jul 8, 2006
Showing with 4 additions and 0 deletions.
  1. +2 −0 actionpack/CHANGELOG
  2. +2 −0 actionpack/lib/action_controller/integration.rb
View
@@ -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]
@@ -250,6 +250,8 @@ def process(method, path, parameters=nil, headers=nil)
# tests.
@response.extend(TestResponseBehavior)
+ @html_document = nil
+
parse_result
return status
end

0 comments on commit eede40b

Please sign in to comment.