aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/tag_helper_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-06-08 20:35:14 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-06-08 20:35:30 -0700
commitc88f2b5e23b0cb6c1a3b3687958f45d518414041 (patch)
tree9ca56019a073aea37fc5eda1b4735e1e21428425 /actionpack/test/template/tag_helper_test.rb
parentdf44df945d6315238e7d94d9bdef82e435dc9b24 (diff)
downloadrails-c88f2b5e23b0cb6c1a3b3687958f45d518414041.tar.gz
rails-c88f2b5e23b0cb6c1a3b3687958f45d518414041.tar.bz2
rails-c88f2b5e23b0cb6c1a3b3687958f45d518414041.zip
with_output_buffer returns the temporary buffer instead of the result of the block
Diffstat (limited to 'actionpack/test/template/tag_helper_test.rb')
-rw-r--r--actionpack/test/template/tag_helper_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/template/tag_helper_test.rb b/actionpack/test/template/tag_helper_test.rb
index bfdaf0d639..2941dfe217 100644
--- a/actionpack/test/template/tag_helper_test.rb
+++ b/actionpack/test/template/tag_helper_test.rb
@@ -45,6 +45,7 @@ class TagHelperTest < ActionView::TestCase
end
def test_content_tag_with_block_and_options_outside_of_action_view
+ self.output_buffer = nil
assert_equal content_tag("a", "Create", :href => "create"),
content_tag("a", "href" => "create") { "Create" }
end