|
1 | NO CONTENT: modified file, binary diff hidden |
@@ -26,7 +26,8 class RepositoriesBazaarControllerTest < ActionController::TestCase | |||
|
26 | 26 | :repositories, :enabled_modules |
|
27 | 27 | |
|
28 | 28 | # No '..' in the repository path |
|
29 |
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + |
|
|
29 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + | |
|
30 | '/tmp/test/bazaar_repository/trunk' | |
|
30 | 31 | PRJ_ID = 3 |
|
31 | 32 | |
|
32 | 33 | def setup |
@@ -4,7 +4,8 begin | |||
|
4 | 4 | |
|
5 | 5 | class BazaarAdapterTest < ActiveSupport::TestCase |
|
6 | 6 | |
|
7 |
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + |
|
|
7 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + | |
|
8 | '/tmp/test/bazaar_repository/trunk' | |
|
8 | 9 | REPOSITORY_PATH.gsub!(/\/+/, '/') |
|
9 | 10 | |
|
10 | 11 | if File.directory?(REPOSITORY_PATH) |
@@ -78,7 +79,7 begin | |||
|
78 | 79 | end |
|
79 | 80 | |
|
80 | 81 | def test_append_revisions_only |
|
81 |
assert_equal |
|
|
82 | assert_equal true, @adapter.append_revisions_only | |
|
82 | 83 | end |
|
83 | 84 | |
|
84 | 85 | def test_info_not_nil |
@@ -21,7 +21,8 class RepositoryBazaarTest < ActiveSupport::TestCase | |||
|
21 | 21 | fixtures :projects |
|
22 | 22 | |
|
23 | 23 | # No '..' in the repository path |
|
24 |
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + |
|
|
24 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + | |
|
25 | '/tmp/test/bazaar_repository/trunk' | |
|
25 | 26 | REPOSITORY_PATH.gsub!(/\/+/, '/') |
|
26 | 27 | |
|
27 | 28 | def setup |
General Comments 0
You need to be logged in to leave comments.
Login now