summaryrefslogtreecommitdiffstats
path: root/test/unit/changeset_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 12:38:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 12:38:18 +0000
commit3516cea1d689dc28c76bf25738c52b8f67cadf5b (patch)
treede596e682301e626f10d9d04fd01aa96b914c040 /test/unit/changeset_test.rb
parent78260c552232b627189a70fd75c18bf09e614628 (diff)
downloadredmine-3516cea1d689dc28c76bf25738c52b8f67cadf5b.tar.gz
redmine-3516cea1d689dc28c76bf25738c52b8f67cadf5b.zip
scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_allow_brackets_around_multiple_issue_numbers of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6735 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r--test/unit/changeset_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb
index 978015a4b..d83f16fb1 100644
--- a/test/unit/changeset_test.rb
+++ b/test/unit/changeset_test.rb
@@ -164,8 +164,7 @@ class ChangesetTest < ActiveSupport::TestCase
:committed_on => Time.now,
:comments => '[#1 #2, #3] Worked on these',
:revision => '12345')
- c.scan_comment_for_issue_ids
-
+ assert c.save
assert_equal [1,2,3], c.issue_ids.sort
end