summaryrefslogtreecommitdiff
path: root/spec/support/path.rb
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-01-25 16:28:13 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-01-25 16:28:13 -0800
commit3ccdc6905e1c9c1820bb42bdc3bd270e8bdfa37f (patch)
tree368a905c7aa1308bd594295d0be53dbc6a009052 /spec/support/path.rb
parent63b636b9dd25bc9b63a9ffb6f4071cabccdf6ae5 (diff)
downloadbundler-3ccdc6905e1c9c1820bb42bdc3bd270e8bdfa37f.tar.gz
Make gemfile pack work with git repos
Diffstat (limited to 'spec/support/path.rb')
-rw-r--r--spec/support/path.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb
index 0364e744fd..66559d66c8 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -30,12 +30,12 @@ module Spec
tmp.join("gems/base")
end
- def gem_repo1
- tmp("gems/remote1")
+ def gem_repo1(*args)
+ tmp("gems/remote1", *args)
end
- def gem_repo2
- tmp("gems/remote2")
+ def gem_repo2(*args)
+ tmp("gems/remote2", *args)
end
def system_gem_path