From e5662344a62d63f29dd346229a4ca8f239d99de5 Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Wed, 2 Apr 2008 03:28:50 +0000 Subject: [PATCH] ActionItem257: add test to Comments asset menu --- test/functional/search_controller_test.rb | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb index 0ffd2d0..bca99cf 100644 --- a/test/functional/search_controller_test.rb +++ b/test/functional/search_controller_test.rb @@ -436,4 +436,9 @@ class SearchControllerTest < Test::Unit::TestCase assert_equal 'Products', assigns(:asset_name) end + should 'show assets comments' do + get :assets, :asset => 'comments' + assert_tag :tag => 'div', :attributes => {:id => 'boxes'}, :content => {:tag => 'h2', :content => "Comments"} + end + end -- libgit2 0.21.2