diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-06-24 19:02:23 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-06-27 16:27:22 -0500 |
commit | 9ed30e95289d1f329bda563835279c8833a5402d (patch) | |
tree | e0a474cafa3ac1d6500ec32881db329197df0370 | |
parent | 0f45721e8b81de3f5fb4a21ac8233540ae34ec98 (diff) | |
download | bundler-9ed30e95289d1f329bda563835279c8833a5402d.tar.gz |
Ensure all installations succeed in the resolving spec
-rw-r--r-- | spec/install/gems/resolving_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/install/gems/resolving_spec.rb b/spec/install/gems/resolving_spec.rb index 49d160063d..d6f83a20d9 100644 --- a/spec/install/gems/resolving_spec.rb +++ b/spec/install/gems/resolving_spec.rb @@ -4,14 +4,14 @@ require "spec_helper" describe "bundle install with gem sources" do describe "install time dependencies" do it "installs gems with implicit rake dependencies" do - install_gemfile <<-G + install_gemfile! <<-G source "file://#{gem_repo1}" gem "with_implicit_rake_dep" gem "another_implicit_rake_dep" gem "rake" G - run <<-R + run! <<-R require 'implicit_rake_dep' require 'another_implicit_rake_dep' puts IMPLICIT_RAKE_DEP @@ -32,7 +32,7 @@ describe "bundle install with gem sources" do f.write Gem.deflate(Marshal.dump(spec)) end - install_gemfile <<-G + install_gemfile! <<-G source "file://#{gem_repo2}" gem "actionpack", "2.3.2" G @@ -42,7 +42,7 @@ describe "bundle install with gem sources" do describe "with crazy rubygem plugin stuff" do it "installs plugins" do - install_gemfile <<-G + install_gemfile! <<-G source "file://#{gem_repo1}" gem "net_b" G @@ -51,7 +51,7 @@ describe "bundle install with gem sources" do end it "installs plugins depended on by other plugins" do - install_gemfile <<-G + install_gemfile! <<-G source "file://#{gem_repo1}" gem "net_a" G @@ -60,7 +60,7 @@ describe "bundle install with gem sources" do end it "installs multiple levels of dependencies" do - install_gemfile <<-G + install_gemfile! <<-G source "file://#{gem_repo1}" gem "net_c" gem "net_e" |