@@ -24,7 +24,7 class RepositoryMercurialTest < ActiveSupport::TestCase | |||||
24 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/mercurial_repository' |
|
24 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/mercurial_repository' | |
25 |
|
25 | |||
26 | def setup |
|
26 | def setup | |
27 |
@project = Project.find( |
|
27 | @project = Project.find(3) | |
28 | @repository = Repository::Mercurial.create(:project => @project, :url => REPOSITORY_PATH) |
|
28 | @repository = Repository::Mercurial.create(:project => @project, :url => REPOSITORY_PATH) | |
29 | assert @repository |
|
29 | assert @repository | |
30 | end |
|
30 | end |
General Comments 0
You need to be logged in to leave comments.
Login now