From e64ddc543692ccda9db33be48eba3adc6f67a368 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Fri, 27 May 2011 11:18:24 -0300 Subject: [PATCH] Fixing content_helper_test methods definition --- test/unit/content_viewer_helper_test.rb | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/test/unit/content_viewer_helper_test.rb b/test/unit/content_viewer_helper_test.rb index aeff4cc..1e79db2 100644 --- a/test/unit/content_viewer_helper_test.rb +++ b/test/unit/content_viewer_helper_test.rb @@ -133,25 +133,31 @@ class ContentViewerHelperTest < Test::Unit::TestCase include ActionView::Helpers::TextHelper -end + def show_date(date) + date.to_s + end -def show_date(date) - date.to_s -end -def link_to(content, url) + def link_to(content, url) "#{content}" -end -def _(text) - text -end -def will_paginate(arg1, arg2) -end -def strip_tags(html) - html.gsub(/<[^>]+>/, '') -end -def url_for(args = {}) - ['http:/', args[:host], args[:profile], args[:page]].join('/') -end -def image_tag(file, args = {}) - file + end + + def _(text) + text + end + + def will_paginate(arg1, arg2) + end + + def strip_tags(html) + html.gsub(/<[^>]+>/, '') + end + + def url_for(args = {}) + ['http:/', args[:host], args[:profile], args[:page]].join('/') + end + + def image_tag(file, args = {}) + file + end + end -- libgit2 0.21.2