diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-05-08 21:22:59 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-05-09 21:25:23 +0900 |
commit | 00e5e827b19e3b385fdad0710de71d4402431318 (patch) | |
tree | 7333cc05b0c6ad87370034cd2fd06a582de0f2ac /spec/bundler | |
parent | 0161dc3edc293745928a06814439e850d3ee3296 (diff) | |
download | ruby-00e5e827b19e3b385fdad0710de71d4402431318.tar.gz |
[rubygems/rubygems] Cleanup old legacy code
https://github.com/rubygems/rubygems/commit/531d6b5fee
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/runtime/setup_spec.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index 35873dcaa9..033102f4e3 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/runtime/setup_spec.rb @@ -341,19 +341,6 @@ RSpec.describe "Bundler.setup" do expect(out).to eq("WIN") end - it "version_requirement is now deprecated in rubygems 1.4.0+ when gem is missing" do - run <<-R - begin - gem "activesupport" - puts "FAIL" - rescue LoadError - puts "WIN" - end - R - - expect(err).to be_empty - end - it "replaces #gem but raises when the version is wrong" do run <<-R begin @@ -366,19 +353,6 @@ RSpec.describe "Bundler.setup" do expect(out).to eq("WIN") end - - it "version_requirement is now deprecated in rubygems 1.4.0+ when the version is wrong" do - run <<-R - begin - gem "rack", "1.0.0" - puts "FAIL" - rescue LoadError - puts "WIN" - end - R - - expect(err).to be_empty - end end describe "by hiding system gems" do |