@@ -33,6 +33,7 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
33 | 33 | # WINDOWS_PASS = Redmine::Platform.mswin? |
|
34 | 34 | WINDOWS_PASS = false |
|
35 | 35 | |
|
36 | if File.directory?(REPOSITORY_PATH) | |
|
36 | 37 | def setup |
|
37 | 38 | klass = Repository::Git |
|
38 | 39 | assert_equal "Git", klass.scm_name |
@@ -53,7 +54,6 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
53 | 54 | end |
|
54 | 55 | end |
|
55 | 56 | |
|
56 | if File.directory?(REPOSITORY_PATH) | |
|
57 | 57 | def test_fetch_changesets_from_scratch |
|
58 | 58 | @repository.fetch_changesets |
|
59 | 59 | @repository.reload |
General Comments 0
You need to be logged in to leave comments.
Login now