@@ -24,7 +24,7 class RepositoryFilesystemTest < ActiveSupport::TestCase | |||||
24 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/filesystem_repository' |
|
24 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/filesystem_repository' | |
25 |
|
25 | |||
26 | def setup |
|
26 | def setup | |
27 |
@project = Project.find( |
|
27 | @project = Project.find(3) | |
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 | :project => @project, :url => REPOSITORY_PATH) |
General Comments 0
You need to be logged in to leave comments.
Login now