OSDN Git Service

scm: mercurial: refactor mercurial unit test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Jan 2011 16:34:40 +0000 (16:34 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Jan 2011 16:34:40 +0000 (16:34 +0000)
commite86b8febdc79626d441d958e56856ae22b7604ae
tree73577da1f9ef9f20536da9c436eba248aa4cd199
parent5e1c42cbe3b0d3b5d6825870b3d99c18bc6060ef
scm: mercurial: refactor mercurial unit test.

* lib unit test switches if repository exists.
* move cat test from app to lib.
* no need to run "hg update" in unit test (#3421).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4629 e93f8b46-1217-0410-a6f0-8f06a7374b81
test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
test/unit/repository_mercurial_test.rb