@@ -26,7 +26,8 class RepositoryFilesystemTest < ActiveSupport::TestCase | |||||
26 | def setup |
|
26 | def setup | |
27 | @project = Project.find(1) |
|
27 | @project = Project.find(1) | |
28 | Setting.enabled_scm << 'Filesystem' unless Setting.enabled_scm.include?('Filesystem') |
|
28 | Setting.enabled_scm << 'Filesystem' unless Setting.enabled_scm.include?('Filesystem') | |
29 |
assert @repository = Repository::Filesystem.create( |
|
29 | assert @repository = Repository::Filesystem.create( | |
|
30 | :project => @project, :url => REPOSITORY_PATH) | |||
30 | end |
|
31 | end | |
31 |
|
32 | |||
32 | if File.directory?(REPOSITORY_PATH) |
|
33 | if File.directory?(REPOSITORY_PATH) |
General Comments 0
You need to be logged in to leave comments.
Login now