diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-29 12:06:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-29 12:06:23 +0000 |
commit | a61848e973ac47e78927f88ee0ca9ae7c213ff4b (patch) | |
tree | ae4a48b7eb1d870f65756aef8dd5e0d00e05417d /test/unit/changeset_test.rb | |
parent | eb01e6c1de72196ab618d6251652234dbf53074f (diff) | |
download | redmine-a61848e973ac47e78927f88ee0ca9ae7c213ff4b.tar.gz redmine-a61848e973ac47e78927f88ee0ca9ae7c213ff4b.zip |
scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_any_only of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6729 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r-- | test/unit/changeset_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb index a8d6317b9..4778fd2c1 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -69,8 +69,7 @@ class ChangesetTest < ActiveSupport::TestCase :committed_on => Time.now, :comments => 'Ignores #2. Refs #1', :revision => '12345') - c.scan_comment_for_issue_ids - + assert c.save assert_equal [1, 2], c.issue_ids.sort end |