diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-11-23 23:13:14 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-11-27 15:04:40 +0900 |
commit | 794c879d19689df8ced5537ecaacdbe5313f2a3f (patch) | |
tree | 41d9a1eae503c5a30b1c328bcefcb0537850dcf2 /spec/bundler | |
parent | 56ac1b0e1435a425eb7451e10c0606a009d9113a (diff) | |
download | ruby-794c879d19689df8ced5537ecaacdbe5313f2a3f.tar.gz |
[rubygems/rubygems] Don't remember `--jobs` flag
https://github.com/rubygems/rubygems/commit/9ab1136036
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/commands/install_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/bundler/commands/install_spec.rb b/spec/bundler/commands/install_spec.rb index 4456af2572..bed24f0618 100644 --- a/spec/bundler/commands/install_spec.rb +++ b/spec/bundler/commands/install_spec.rb @@ -1288,4 +1288,14 @@ RSpec.describe "bundle install with gem sources" do expect(err).to include("Could not find compatible versions") end end + + context "when --jobs option given" do + before do + install_gemfile "source \"#{file_uri_for(gem_repo1)}\"", :jobs => 1 + end + + it "does not save the flag to config" do + expect(bundled_app(".bundle/config")).not_to exist + end + end end |