diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-01-06 21:05:49 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-01-25 10:49:51 -0600 |
commit | 039ab918fdd5a395bb6447389f5ae0bd48c7d6b3 (patch) | |
tree | 5e9ac2202c73047bd886421ece537495c8220c2a | |
parent | 07997bc535a450b401e7c34348a882c7ffc2b61a (diff) | |
download | bundler-039ab918fdd5a395bb6447389f5ae0bd48c7d6b3.tar.gz |
Remove unused method on spec double in fetcher specs
-rw-r--r-- | spec/bundler/fetcher_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/bundler/fetcher_spec.rb b/spec/bundler/fetcher_spec.rb index 0b10371f25..f1204e7b47 100644 --- a/spec/bundler/fetcher_spec.rb +++ b/spec/bundler/fetcher_spec.rb @@ -38,9 +38,8 @@ describe Bundler::Fetcher do context "when a rubygems source mirror is set" do let(:orig_uri) { URI("http://zombo.com") } - let(:cache_uri) { orig_uri.dup.tap {|uri| uri.host = "cache_" + uri.host } } let(:remote_with_mirror) do - double("remote", :uri => uri, :original_uri => orig_uri, :anonymized_uri => uri, :cache_uri => cache_uri) + double("remote", :uri => uri, :original_uri => orig_uri, :anonymized_uri => uri) end let(:fetcher) { Bundler::Fetcher.new(remote_with_mirror) } |