Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
jeremy committed Jul 8, 2006
1 parent e5cbb84 commit eede40b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actionpack/CHANGELOG
@@ -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]
Expand Down
2 changes: 2 additions & 0 deletions actionpack/lib/action_controller/integration.rb
Expand Up @@ -250,6 +250,8 @@ def process(method, path, parameters=nil, headers=nil)
# tests.
@response.extend(TestResponseBehavior)

@html_document = nil

parse_result
return status
end
Expand Down

0 comments on commit eede40b

Please sign in to comment.