diff options
author | Andre Arko <andre@arko.net> | 2013-02-11 19:17:11 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-02-11 19:19:14 -0800 |
commit | 476115ef658bc4b3d75862a4f7c26f448743c7c3 (patch) | |
tree | c606a57ed2eb59ec4701d953a0223f77b848ce7a /spec | |
parent | 252c96b8d53e235217a1d1390c29e7d6384c40b0 (diff) | |
download | bundler-476115ef658bc4b3d75862a4f7c26f448743c7c3.tar.gz |
rework rubygems source for clarity, less requests
Diffstat (limited to 'spec')
-rw-r--r-- | spec/install/gems/dependency_api_spec.rb | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/spec/install/gems/dependency_api_spec.rb b/spec/install/gems/dependency_api_spec.rb index a85cc9770b..390c435a70 100644 --- a/spec/install/gems/dependency_api_spec.rb +++ b/spec/install/gems/dependency_api_spec.rb @@ -108,7 +108,7 @@ describe "gemcutter's dependency API" do G bundle :install, :fakeweb => "windows" - expect(out).to include("\nFetching full source index from #{source_uri}") + expect(out).to include("Fetching source index from #{source_uri}") should_be_installed "rcov 1.0.0" end @@ -124,7 +124,7 @@ describe "gemcutter's dependency API" do gem "rails" G bundle :install, :artifice => "endpoint_fallback" - expect(out).to include("\nFetching full source index from #{source_uri}") + expect(out).to include("Fetching source index from #{source_uri}") should_be_installed( "activesupport 2.3.2", @@ -144,7 +144,7 @@ describe "gemcutter's dependency API" do G bundle :install, :artifice => "endpoint_marshal_fail" - expect(out).to include("\nFetching full source index from #{source_uri}") + expect(out).to include("Fetching full source index from #{source_uri}") should_be_installed "rack 1.0.0" end @@ -216,11 +216,8 @@ describe "gemcutter's dependency API" do bundle :install, :artifice => "endpoint_extra" - output = <<-OUTPUT.gsub(/^ +/,'') - Fetching gem metadata from http://localgemserver.test/.. - Fetching gem metadata from http://localgemserver.test/extra/. - OUTPUT - expect(out).to include(output) + expect(out).to include("Fetching gem metadata from http://localgemserver.test/..") + expect(out).to include("Fetching source index from http://localgemserver.test/extra") end it "does not fetch every specs if the index of gems is large when doing back deps" do |