Commit e5662344a62d63f29dd346229a4ca8f239d99de5
1 parent
a93fffc3
Exists in
master
and in
29 other branches
ActionItem257: add test to Comments asset menu
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1633 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
test/functional/search_controller_test.rb
... | ... | @@ -436,4 +436,9 @@ class SearchControllerTest < Test::Unit::TestCase |
436 | 436 | assert_equal 'Products', assigns(:asset_name) |
437 | 437 | end |
438 | 438 | |
439 | + should 'show assets comments' do | |
440 | + get :assets, :asset => 'comments' | |
441 | + assert_tag :tag => 'div', :attributes => {:id => 'boxes'}, :content => {:tag => 'h2', :content => "Comments"} | |
442 | + end | |
443 | + | |
439 | 444 | end | ... | ... |