summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-06 19:50:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-06 19:50:41 +0000
commit7620142b7015860e11afb696f67877f03323a8a0 (patch)
tree2e4abff8fd369e88dc5051bf1dbd159ba649ff0c /test
parente6118347d37a8773dfcdda3b77225f33c422febb (diff)
downloadredmine-7620142b7015860e11afb696f67877f03323a8a0.tar.gz
redmine-7620142b7015860e11afb696f67877f03323a8a0.zip
Adds assertion to prevent error in test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4644 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/repository_mercurial_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb
index 27e45fcc1..d8daf0f9a 100644
--- a/test/unit/repository_mercurial_test.rb
+++ b/test/unit/repository_mercurial_test.rb
@@ -102,6 +102,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
@repository.reload
cs1 = @repository.changesets.find_by_revision('13')
+ assert_not_nil cs1
c1 = cs1.changes
assert_equal 2, c1.size