Commit d0b756bf authored by tmaruyama's avatar tmaruyama
Browse files

scm: git: add client command tests at unit adapter test (#4273).

git-svn-id: https://svn.redmine.org/redmine/trunk@5360 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent e68cda08
......@@ -22,6 +22,13 @@ begin
if File.directory?(REPOSITORY_PATH)
def setup
adapter_class = Redmine::Scm::Adapters::GitAdapter
assert adapter_class
assert adapter_class.client_command
assert_equal true, adapter_class.client_available
assert_equal true, adapter_class.client_version_above?([1])
assert_equal true, adapter_class.client_version_above?([1, 0])
@adapter = Redmine::Scm::Adapters::GitAdapter.new(
REPOSITORY_PATH,
nil,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment