From 9939f4ad43f631d497e5e0f2b9b5dba3877d7f98 Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Sun, 7 Jun 2020 15:05:28 +0200 Subject: [rubygems/rubygems] Remove bad `bundle install` This spec is specifically testing for the case where there's no `Gemfile.lock` file and it's only doing the expected thing because the `bundle install` command is silently failing. Remove the `bundle install` to reduce confusion. https://github.com/rubygems/rubygems/commit/ec39fbde0e --- spec/bundler/commands/update_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/bundler/commands') diff --git a/spec/bundler/commands/update_spec.rb b/spec/bundler/commands/update_spec.rb index b2761f112d..2618a909d1 100644 --- a/spec/bundler/commands/update_spec.rb +++ b/spec/bundler/commands/update_spec.rb @@ -694,7 +694,7 @@ RSpec.describe "bundle update" do end it "shows error message when Gemfile.lock is not preset and gem is specified" do - install_gemfile <<-G + gemfile <<-G source "#{file_uri_for(gem_repo2)}" gem "activesupport" G -- cgit v1.2.3