@@ -3,9 +3,7 begin | |||
|
3 | 3 | require 'mocha' |
|
4 | 4 | |
|
5 | 5 | class BazaarAdapterTest < ActiveSupport::TestCase |
|
6 | ||
|
7 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + | |
|
8 | '/tmp/test/bazaar_repository' | |
|
6 | REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository').to_s | |
|
9 | 7 | REPOSITORY_PATH.gsub!(/\/+/, '/') |
|
10 | 8 | |
|
11 | 9 | if File.directory?(REPOSITORY_PATH) |
General Comments 0
You need to be logged in to leave comments.
Login now