summaryrefslogtreecommitdiffstats
path: root/test/unit/helpers/issues_helper_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-12 19:53:14 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-12 19:53:14 +0000
commit1cd4f5b353f0cc6996c0b639351c8047d07931c5 (patch)
tree803546864e9249b15e95a00558f016e5a6dc1eed /test/unit/helpers/issues_helper_test.rb
parent6968d0da1934b83dc524f6c972b897c4f8b01244 (diff)
downloadredmine-1cd4f5b353f0cc6996c0b639351c8047d07931c5.tar.gz
redmine-1cd4f5b353f0cc6996c0b639351c8047d07931c5.zip
Adds a helper for issue heading (#7647).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5447 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers/issues_helper_test.rb')
-rw-r--r--test/unit/helpers/issues_helper_test.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/helpers/issues_helper_test.rb b/test/unit/helpers/issues_helper_test.rb
index 617cc1d60..dcb1aed85 100644
--- a/test/unit/helpers/issues_helper_test.rb
+++ b/test/unit/helpers/issues_helper_test.rb
@@ -1,5 +1,5 @@
# Redmine - project management software
-# Copyright (C) 2006-2010 Jean-Philippe Lang
+# Copyright (C) 2006-2011 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -43,6 +43,10 @@ class IssuesHelperTest < HelperTestCase
def request
@request ||= ActionController::TestRequest.new
end
+
+ def test_issue_heading
+ assert_equal "Bug #1", issue_heading(Issue.find(1))
+ end
context "IssuesHelper#show_detail" do
context "with no_html" do