Commit 7461a9530875523c65c027950b78a2496581e600

Authored by juniorsilva
Committed by Rodrigo Souto
1 parent f309c8f7

topic-forum: testing specific tag presence

AI3135
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
test/unit/article_test.rb
@@ -1669,6 +1669,7 @@ class ArticleTest < ActiveSupport::TestCase @@ -1669,6 +1669,7 @@ class ArticleTest < ActiveSupport::TestCase
1669 post = fast_create(TextileArticle, :name => 'First post', :profile_id => community.id, :parent_id => forum.id, :last_changed_by_id => author.id) 1669 post = fast_create(TextileArticle, :name => 'First post', :profile_id => community.id, :parent_id => forum.id, :last_changed_by_id => author.id)
1670 1670
1671 assert post.allow_edit?(author) 1671 assert post.allow_edit?(author)
  1672 + assert_select 'a', 'button with-text icon-delete'
1672 end 1673 end
1673 1674
1674 should 'has a empty list of followers by default' do 1675 should 'has a empty list of followers by default' do