From eede40bcf00d1b6f1bee7f105d18ba3bc17ff306 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 8 Jul 2006 04:58:55 +0000 Subject: [PATCH] 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 --- actionpack/CHANGELOG | 2 ++ actionpack/lib/action_controller/integration.rb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 14ccf79009..e9898276b3 100644 --- a/actionpack/CHANGELOG +++ b/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] diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb index f22f7a0250..865a7ae4c0 100644 --- a/actionpack/lib/action_controller/integration.rb +++ b/actionpack/lib/action_controller/integration.rb @@ -250,6 +250,8 @@ module ActionController # tests. @response.extend(TestResponseBehavior) + @html_document = nil + parse_result return status end