Index: application_helper_test.rb =================================================================== --- application_helper_test.rb (revision 14066) +++ application_helper_test.rb (working copy) @@ -282,7 +282,7 @@ board_url = {:controller => 'boards', :action => 'show', :id => 2, :project_id => 'ecookbook'} message_url = {:controller => 'messages', :action => 'show', :board_id => 1, :id => 4} - + news_url = {:controller => 'news', :action => 'show', :id => 1} project_url = {:controller => 'projects', :action => 'show', :id => 'subproject1'} @@ -930,12 +930,12 @@ def test_pre_content_should_not_parse_wiki_and_redmine_links raw = <<-RAW [[CookBook documentation]] - + #1
 [[CookBook documentation]]
-  
+
 #1
 
RAW @@ -1239,6 +1239,11 @@ end end + def test_should_handle_a_tag_without_attributes + text = 'http://example.com' + assert_nil parse_redmine_links(text, nil, nil, nil, true, {}) + end + def test_due_date_distance_in_words to_test = { Date.today => 'Due in 0 days', Date.today + 1 => 'Due in 1 day',