@@ -35,6 +35,7 class RepositoriesMercurialControllerTest < Test::Unit::TestCase | |||
|
35 | 35 | Repository::Mercurial.create(:project => Project.find(3), :url => REPOSITORY_PATH) |
|
36 | 36 | end |
|
37 | 37 | |
|
38 | if File.directory?(REPOSITORY_PATH) | |
|
38 | 39 | def test_show |
|
39 | 40 | get :show, :id => 3 |
|
40 | 41 | assert_response :success |
@@ -114,4 +115,8 class RepositoriesMercurialControllerTest < Test::Unit::TestCase | |||
|
114 | 115 | :sibling => { :tag => 'td', :content => /jsmith/ }, |
|
115 | 116 | :sibling => { :tag => 'td', :content => /watcher =/ } |
|
116 | 117 | end |
|
118 | else | |
|
119 | puts "Mercurial test repository NOT FOUND. Skipping functional tests !!!" | |
|
120 | def test_fake; assert true end | |
|
121 | end | |
|
117 | 122 | end |
General Comments 0
You need to be logged in to leave comments.
Login now