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