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