Commit 11891dbf193beb4ac1ac609eacba3f8323e19ed2

Authored by Rodrigo Souto
1 parent 6db6bd6f

cms_helper_test: remove useless test and link to override

Showing 1 changed file with 0 additions and 13 deletions   Show diff stats
test/unit/cms_helper_test.rb
... ... @@ -111,19 +111,6 @@ class CmsHelperTest < ActiveSupport::TestCase
111 111  
112 112 result = display_delete_button(article)
113 113 end
114   -
115   - should 'display shortened name correctly' do
116   - name = "Notícias do ENSOL - Encontro de Software Livre do Vale do Açu/RN"
117   - profile = fast_create(Profile)
118   - content = fast_create(Article, :name => name, :profile_id => profile.id)
119   - link = link_to_article(content)
120   -
121   - assert_match /#{name[0..26] + '...'}/, link
122   - end
123   -
124   -
125   - def link_to(text, *args); puts text; puts args.inspect; text; end
126   -
127 114 end
128 115  
129 116 module RssFeedHelper
... ...