summaryrefslogtreecommitdiffstats
path: root/test/unit/tracker_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 10:38:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 10:38:56 +0000
commit84f322b2af0e2a781a1fcc3ae4dd1e6845b22b66 (patch)
tree87a00a7afb6748ecc62d02e61b5b9bdba73269a3 /test/unit/tracker_test.rb
parent3b59c6dfb200bc5d5434cdc1f5a71478747297d9 (diff)
downloadredmine-84f322b2af0e2a781a1fcc3ae4dd1e6845b22b66.tar.gz
redmine-84f322b2af0e2a781a1fcc3ae4dd1e6845b22b66.zip
Add a description for trackers (#442).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/tracker_test.rb')
-rw-r--r--test/unit/tracker_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/tracker_test.rb b/test/unit/tracker_test.rb
index f5cacd986..9f471ee87 100644
--- a/test/unit/tracker_test.rb
+++ b/test/unit/tracker_test.rb
@@ -134,4 +134,10 @@ class TrackerTest < ActiveSupport::TestCase
end
end
end
+
+ def test_tracker_should_have_description
+ tracker = Tracker.find(1)
+ assert tracker.respond_to?(:description)
+ assert_equal tracker.description, "Description for Bug tracker"
+ end
end