summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-07 14:23:45 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commit66b327af5619a2e0de89b7d25c75f378164304d6 (patch)
tree758851fe3a7a8569306dc4f361847d536d88409a /spec
parentcceb77f57b17a25a16b26a406f5ea7a89f275949 (diff)
[rubygems/rubygems] Fix redundant commands
They are preceded by `install_gemfile` calls, which mean `bundle install` is being run twice for no reason. https://github.com/rubygems/rubygems/commit/d2b2d10862
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/commands/install_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/bundler/commands/install_spec.rb b/spec/bundler/commands/install_spec.rb
index 881b5e8e2f..a090f8b104 100644
--- a/spec/bundler/commands/install_spec.rb
+++ b/spec/bundler/commands/install_spec.rb
@@ -313,7 +313,6 @@ RSpec.describe "bundle install with gem sources" do
gem "rack"
G
- bundle :install
expect(err).to include("Your Gemfile has no gem server sources")
end
@@ -384,7 +383,6 @@ RSpec.describe "bundle install with gem sources" do
end
G
- bundle :install, :artifice => nil
expect(err).to include("Could not fetch specs from http://0.0.0.0:9384/")
expect(err).not_to include("file://")
end