summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-07 15:05:28 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commit9939f4ad43f631d497e5e0f2b9b5dba3877d7f98 (patch)
tree7e87646dfd79dfa2dce6d980bff1dd779beff676
parent8d7ed194cbf0e116af9183cf7347aded1ac37172 (diff)
[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
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
-rw-r--r--spec/bundler/commands/update_spec.rb2
1 files changed, 1 insertions, 1 deletions
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