diff options
author | Mike Virata-Stone <mjstone@on-site.com> | 2015-11-02 23:44:40 -0800 |
---|---|---|
committer | Mike Virata-Stone <mjstone@on-site.com> | 2015-11-02 23:44:40 -0800 |
commit | 943e0e4dc867a29960e99ff30e48c6d7b31a0177 (patch) | |
tree | 68dda4203a44882dbdb34a8a3a0dc8708eca0887 /spec | |
parent | 617d8f07cd4f36e60cd0c4a767a1568064fcbeee (diff) | |
download | bundler-943e0e4dc867a29960e99ff30e48c6d7b31a0177.tar.gz |
Pass remote as is to fetcher
Move fetch_uri into the base fetcher
Expose remote for base fetcher
Set and restore gem sources only seems to be neccessary in one form of fetch_all_remote_specs
Send X-Gemfile-Source header when fetching the specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/fetcher/index_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/fetcher/index_spec.rb b/spec/bundler/fetcher/index_spec.rb index ea6001a4b6..095cb0dbac 100644 --- a/spec/bundler/fetcher/index_spec.rb +++ b/spec/bundler/fetcher/index_spec.rb @@ -10,7 +10,7 @@ describe Bundler::Fetcher::Index do allow(Bundler).to receive(:ui).and_return(double(:trace => nil)) expect { - Bundler::Fetcher::Index.new(nil, nil, nil, nil).specs(%w[foo bar]) + Bundler::Fetcher::Index.new(nil, nil, nil).specs(%w[foo bar]) }.to raise_error(Bundler::HTTPError) end end |