diff --git a/test/unit/cms_helper_test.rb b/test/unit/cms_helper_test.rb index 98798e8..9cb810f 100644 --- a/test/unit/cms_helper_test.rb +++ b/test/unit/cms_helper_test.rb @@ -111,19 +111,6 @@ class CmsHelperTest < ActiveSupport::TestCase result = display_delete_button(article) end - - should 'display shortened name correctly' do - name = "Notícias do ENSOL - Encontro de Software Livre do Vale do Açu/RN" - profile = fast_create(Profile) - content = fast_create(Article, :name => name, :profile_id => profile.id) - link = link_to_article(content) - - assert_match /#{name[0..26] + '...'}/, link - end - - - def link_to(text, *args); puts text; puts args.inspect; text; end - end module RssFeedHelper -- libgit2 0.21.2