OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46d970a
)
scm: git: add scm command tests at unit model test (#4273).
author
Toshi MARUYAMA
<marutosijp2@yahoo.co.jp>
Fri, 8 Apr 2011 05:42:43 +0000
(
05:42
+0000)
committer
Toshi MARUYAMA
<marutosijp2@yahoo.co.jp>
Fri, 8 Apr 2011 05:42:43 +0000
(
05:42
+0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5362
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
test/unit/repository_git_test.rb
patch
|
blob
|
history
diff --git
a/test/unit/repository_git_test.rb
b/test/unit/repository_git_test.rb
index
22fc316
..
aac93d6
100644
(file)
--- a/
test/unit/repository_git_test.rb
+++ b/
test/unit/repository_git_test.rb
@@
-34,6
+34,12
@@
class RepositoryGitTest < ActiveSupport::TestCase
WINDOWS_PASS = false
def setup
+ klass = Repository::Git
+ assert_equal "Git", klass.scm_name
+ assert klass.scm_adapter_class
+ assert_not_equal "", klass.scm_command
+ assert_equal true, klass.scm_available
+
@project = Project.find(3)
@repository = Repository::Git.create(
:project => @project,