Permalink
Browse files

Fix repository_path

  • Loading branch information...
1 parent 988b27c commit 528b826cda987bc54e93ea07af994829dc6c30f6 @jeremy committed Jun 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_helper.rb
View
2 test/test_helper.rb
@@ -85,7 +85,7 @@ def self.ldap_configured?
# Returns the path to the test +vendor+ repository
def self.repository_path(vendor)
- File.join(Rails.root.gsub(%r{config\/\.\.}, ''), "/tmp/test/#{vendor.downcase}_repository")
+ File.expand_path("../../tmp/test/#{vendor.downcase}_repository", __FILE__)
end
# Returns true if the +vendor+ test repository is configured

0 comments on commit 528b826

Please sign in to comment.