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