From 11891dbf193beb4ac1ac609eacba3f8323e19ed2 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Tue, 17 Sep 2013 11:51:22 -0300 Subject: [PATCH] cms_helper_test: remove useless test and link to override --- test/unit/cms_helper_test.rb | 13 ------------- 1 file changed, 0 insertions(+), 13 deletions(-) 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