summaryrefslogtreecommitdiffstats
path: root/test/unit/changeset_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-05 04:23:23 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-05 04:23:23 +0000
commit973f3eb50e099e681bc6ea0c0031da5c2b849626 (patch)
tree369f0bf7f512f68caac92927eaa92c92ab49df12 /test/unit/changeset_test.rb
parentc17a78c771ad7506f85f76da2be67708882fc853 (diff)
downloadredmine-973f3eb50e099e681bc6ea0c0031da5c2b849626.tar.gz
redmine-973f3eb50e099e681bc6ea0c0031da5c2b849626.zip
scm: remove trailing white-spaces in unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5650 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r--test/unit/changeset_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb
index a433a8584..158bb34e5 100644
--- a/test/unit/changeset_test.rb
+++ b/test/unit/changeset_test.rb
@@ -38,12 +38,12 @@ class ChangesetTest < ActiveSupport::TestCase
Setting.commit_fix_done_ratio = '90'
Setting.commit_ref_keywords = '*'
Setting.commit_fix_keywords = 'fixes , closes'
-
+
c = Changeset.new(:repository => Project.find(1).repository,
:committed_on => Time.now,
:comments => 'New commit (#2). Fixes #1')
c.scan_comment_for_issue_ids
-
+
assert_equal [1, 2], c.issue_ids.sort
fixed = Issue.find(1)
assert fixed.closed?
@@ -62,7 +62,7 @@ class ChangesetTest < ActiveSupport::TestCase
assert_equal [1], c.issue_ids.sort
end
-
+
def test_ref_keywords_any_only
Setting.commit_ref_keywords = '*'
Setting.commit_fix_keywords = ''
@@ -71,10 +71,10 @@ class ChangesetTest < ActiveSupport::TestCase
:committed_on => Time.now,
:comments => 'Ignores #2. Refs #1')
c.scan_comment_for_issue_ids
-
+
assert_equal [1, 2], c.issue_ids.sort
end
-
+
def test_ref_keywords_any_with_timelog
Setting.commit_ref_keywords = '*'
Setting.commit_logtime_enabled = '1'