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