diff options
Diffstat (limited to 'test/unit/helpers/issues_helper_test.rb')
-rw-r--r-- | test/unit/helpers/issues_helper_test.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/unit/helpers/issues_helper_test.rb b/test/unit/helpers/issues_helper_test.rb index b49410f54..edf66b732 100644 --- a/test/unit/helpers/issues_helper_test.rb +++ b/test/unit/helpers/issues_helper_test.rb @@ -223,8 +223,8 @@ class IssuesHelperTest < ActionView::TestCase detail = JournalDetail.new(:property => 'relation', :prop_key => 'label_precedes', :value => non_existed_issue_number) - assert_equal "Precedes Issue #{non_existed_issue_number} added", show_detail(detail, true) - assert_equal "<strong>Precedes</strong> <i>Issue #{non_existed_issue_number}</i> added", show_detail(detail, false) + assert_equal "Precedes Issue ##{non_existed_issue_number} added", show_detail(detail, true) + assert_equal "<strong>Precedes</strong> <i>Issue ##{non_existed_issue_number}</i> added", show_detail(detail, false) end def test_show_detail_relation_added_should_not_disclose_issue_that_is_not_visible @@ -233,8 +233,8 @@ class IssuesHelperTest < ActionView::TestCase :prop_key => 'label_precedes', :value => issue.id) - assert_equal "Precedes Issue #{issue.id} added", show_detail(detail, true) - assert_equal "<strong>Precedes</strong> <i>Issue #{issue.id}</i> added", show_detail(detail, false) + assert_equal "Precedes Issue ##{issue.id} added", show_detail(detail, true) + assert_equal "<strong>Precedes</strong> <i>Issue ##{issue.id}</i> added", show_detail(detail, false) end def test_show_detail_delete_relation @@ -249,8 +249,8 @@ class IssuesHelperTest < ActionView::TestCase detail = JournalDetail.new(:property => 'relation', :prop_key => 'label_precedes', :old_value => non_existed_issue_number) - assert_equal "Precedes deleted (Issue 9999)", show_detail(detail, true) - assert_equal "<strong>Precedes</strong> deleted (<i>Issue 9999</i>)", show_detail(detail, false) + assert_equal "Precedes deleted (Issue #9999)", show_detail(detail, true) + assert_equal "<strong>Precedes</strong> deleted (<i>Issue #9999</i>)", show_detail(detail, false) end def test_show_detail_relation_deleted_should_not_disclose_issue_that_is_not_visible @@ -259,7 +259,7 @@ class IssuesHelperTest < ActionView::TestCase :prop_key => 'label_precedes', :old_value => issue.id) - assert_equal "Precedes deleted (Issue #{issue.id})", show_detail(detail, true) - assert_equal "<strong>Precedes</strong> deleted (<i>Issue #{issue.id}</i>)", show_detail(detail, false) + assert_equal "Precedes deleted (Issue ##{issue.id})", show_detail(detail, true) + assert_equal "<strong>Precedes</strong> deleted (<i>Issue ##{issue.id}</i>)", show_detail(detail, false) end end |