summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_cvs_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-11 12:04:58 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-11 12:04:58 +0000
commit7b72dc874d539ba520872374872f19021bec087c (patch)
tree25583cac9e1823e3042fb1c1e43a23a1cc2e2338 /test/unit/repository_cvs_test.rb
parent32a9937d4ecbc977b4ab7a3d39c994617b3bb293 (diff)
downloadredmine-7b72dc874d539ba520872374872f19021bec087c.tar.gz
redmine-7b72dc874d539ba520872374872f19021bec087c.zip
scm: cvs: use model instead of adapter in unit model cat test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5405 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_cvs_test.rb')
-rw-r--r--test/unit/repository_cvs_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb
index 9419bbae8..7e4bfd2e2 100644
--- a/test/unit/repository_cvs_test.rb
+++ b/test/unit/repository_cvs_test.rb
@@ -122,7 +122,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase
lines = buf.split("\n")
assert_equal 1, lines.length
assert_equal 'CVS test repository', lines[0]
- assert_nil @repository.scm.cat('missing.rb')
+ assert_nil @repository.cat('missing.rb')
end
else
puts "CVS test repository NOT FOUND. Skipping unit tests !!!"