aboutsummaryrefslogtreecommitdiffstats
path: root/spec/install
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-02-08 22:40:12 +1100
committerAndre Arko <andre@arko.net>2015-02-08 22:40:12 +1100
commit2c9f7568b0ecf4ced22b6a722823787b0639e3f7 (patch)
treedc1aca653fccc142b487d6a12b68216e496a442b /spec/install
parent05590b93c7af15dbc4c335e2ca307010cb06429b (diff)
downloadbundler-2c9f7568b0ecf4ced22b6a722823787b0639e3f7.tar.gz
stop adding rack 1.2 to gem_repo1
Diffstat (limited to 'spec/install')
-rw-r--r--spec/install/gems/dependency_api_spec.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/spec/install/gems/dependency_api_spec.rb b/spec/install/gems/dependency_api_spec.rb
index bccc5a8a..e17612a2 100644
--- a/spec/install/gems/dependency_api_spec.rb
+++ b/spec/install/gems/dependency_api_spec.rb
@@ -260,24 +260,21 @@ describe "gemcutter's dependency API" do
end
it "fetches gem versions even when those gems are already installed" do
- build_repo4
-
gemfile <<-G
source "#{source_uri}"
- source "#{source_uri}/extra" do; end
gem "rack", "1.0.0"
G
bundle :install, :artifice => "endpoint_extra_api"
- update_repo gem_repo1 do
+ build_repo4 do
build_gem "rack", "1.2" do |s|
s.executables = "rackup"
end
end
gemfile <<-G
- source "#{source_uri}"
- source "#{source_uri}/extra" do; end
+ source "#{source_uri}" do; end
+ source "#{source_uri}/extra"
gem "rack", "1.2"
G
bundle :install, :artifice => "endpoint_extra_api"