summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-02-12 20:44:19 -0800
committerAndre Arko <andre@arko.net>2013-02-12 20:44:19 -0800
commit4e7a5e91f98d24ce33da962d25eef69f10a8bf88 (patch)
tree421f69200e8b06048ca6615be32767ea08fc9fc2 /spec
parent80cfa59f9ea9d5dfa24822f17eafa9be6cf17cbc (diff)
downloadbundler-4e7a5e91f98d24ce33da962d25eef69f10a8bf88.tar.gz
don't request if we know it's too many
Diffstat (limited to 'spec')
-rw-r--r--spec/install/gems/dependency_api_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gems/dependency_api_spec.rb b/spec/install/gems/dependency_api_spec.rb
index 390c435a70..1af7011cef 100644
--- a/spec/install/gems/dependency_api_spec.rb
+++ b/spec/install/gems/dependency_api_spec.rb
@@ -227,7 +227,7 @@ describe "gemcutter's dependency API" do
end
build_gem "missing"
# need to hit the limit
- 1.upto(Bundler::Source::Rubygems::FORCE_MODERN_INDEX_LIMIT) do |i|
+ 1.upto(Bundler::Source::Rubygems::API_REQUEST_LIMIT) do |i|
build_gem "gem#{i}"
end