summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-07-10 04:48:19 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-07-10 04:48:19 +0000
commit48259a1eda50494eea63830d6e747d4b602b7631 (patch)
tree6452c37d701272498e7438fd68d41e3564b74f7d /test/unit/repository_test.rb
parent7187e8dade5f123cdf25019b877b66664c835b6d (diff)
downloadredmine-48259a1eda50494eea63830d6e747d4b602b7631.tar.gz
redmine-48259a1eda50494eea63830d6e747d4b602b7631.zip
add some tests to RepositoryTest#test_for_changeset_comments_strip
git-svn-id: http://svn.redmine.org/redmine/trunk@16811 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_test.rb')
-rw-r--r--test/unit/repository_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb
index def3a8ce5..489a1d69d 100644
--- a/test/unit/repository_test.rb
+++ b/test/unit/repository_test.rb
@@ -291,6 +291,8 @@ class RepositoryTest < ActiveSupport::TestCase
assert(changeset.save)
assert_not_equal comment, changeset.comments
assert_equal expected_comment, changeset.comments
+ assert_equal expected_comment, changeset.short_comments
+ assert_equal "", changeset.long_comments
end
def test_for_urls_strip_cvs