summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2020-04-05 14:13:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2020-04-05 14:13:45 +0000
commit65103b92fb0bd2fce68f2927a556254036596c4d (patch)
tree8587e86a3787dcf28d2e5d55c7f607b12a4f0535 /test
parent60a37ffb2007de7e283b232e1c42215d5507f932 (diff)
downloadredmine-65103b92fb0bd2fce68f2927a556254036596c4d.tar.gz
redmine-65103b92fb0bd2fce68f2927a556254036596c4d.zip
Merged r19663 to 4.1-stable (#32765).
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19668 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/helpers/application_helper_test.rb23
1 files changed, 10 insertions, 13 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index 65c373874..3fc1f90ad 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -309,11 +309,10 @@ class ApplicationHelperTest < Redmine::HelperTest
:class => Issue.find(3).css_classes,
:title => 'Bug: Error 281 when updating a recipe (New)')
ext_issue_link = link_to(
- 'Bug #3',
+ 'Bug #3: Error 281 when updating a recipe',
{:controller => 'issues', :action => 'show', :id => 3},
:class => Issue.find(3).css_classes,
- :title => 'Bug: Error 281 when updating a recipe (New)') +
- ": Error 281 when updating a recipe"
+ :title => 'Status: New')
note_link = link_to(
'#3-14',
{:controller => 'issues', :action => 'show',
@@ -321,12 +320,11 @@ class ApplicationHelperTest < Redmine::HelperTest
:class => Issue.find(3).css_classes,
:title => 'Bug: Error 281 when updating a recipe (New)')
ext_note_link = link_to(
- 'Bug #3-14',
+ 'Bug #3-14: Error 281 when updating a recipe',
{:controller => 'issues', :action => 'show',
:id => 3, :anchor => 'note-14'},
:class => Issue.find(3).css_classes,
- :title => 'Bug: Error 281 when updating a recipe (New)') +
- ": Error 281 when updating a recipe"
+ :title => 'Status: New')
note_link2 = link_to(
'#3#note-14',
{:controller => 'issues', :action => 'show',
@@ -334,12 +332,11 @@ class ApplicationHelperTest < Redmine::HelperTest
:class => Issue.find(3).css_classes,
:title => 'Bug: Error 281 when updating a recipe (New)')
ext_note_link2 = link_to(
- 'Bug #3#note-14',
+ 'Bug #3#note-14: Error 281 when updating a recipe',
{:controller => 'issues', :action => 'show',
:id => 3, :anchor => 'note-14'},
:class => Issue.find(3).css_classes,
- :title => 'Bug: Error 281 when updating a recipe (New)') +
- ": Error 281 when updating a recipe"
+ :title => 'Status: New')
revision_link = link_to(
'r1',
@@ -398,10 +395,10 @@ class ApplicationHelperTest < Redmine::HelperTest
# should not ignore leading zero
'#03' => '#03',
# tickets with more info
- '##3, [##3], (##3) and ##3.' => "#{ext_issue_link}, [#{ext_issue_link}], (#{ext_issue_link}) and #{ext_issue_link}.",
- '##3-14' => ext_note_link,
- '##3#note-14' => ext_note_link2,
- '##03' => '##03',
+ '##3, [##3], (##3) and ##3.' => "#{ext_issue_link}, [#{ext_issue_link}], (#{ext_issue_link}) and #{ext_issue_link}.",
+ '##3-14' => ext_note_link,
+ '##3#note-14' => ext_note_link2,
+ '##03' => '##03',
# changesets
'r1' => revision_link,
'r1.' => "#{revision_link}.",