diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-07-08 14:20:50 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-11-13 11:06:10 +0900 |
commit | bd6aaa78c3f3590c9b24a6a9fe0d8a930580ab37 (patch) | |
tree | 13d3017ac4c012dcb504f29d43f0f972ab0f18bf /spec | |
parent | 196d1bf56e443dc041a322a084b575e7f3b995e1 (diff) |
[rubygems/rubygems] Remove unused `SpecSet#merge`
https://github.com/rubygems/rubygems/commit/53e0490b55
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/bundler/spec_set_spec.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/bundler/bundler/spec_set_spec.rb b/spec/bundler/bundler/spec_set_spec.rb index 6fedd38b50..c4b6676223 100644 --- a/spec/bundler/bundler/spec_set_spec.rb +++ b/spec/bundler/bundler/spec_set_spec.rb @@ -45,24 +45,6 @@ RSpec.describe Bundler::SpecSet do end end - describe "#merge" do - let(:other_specs) do - [ - build_spec("f", "1.0"), - build_spec("g", "2.0"), - ].flatten - end - - let(:other_spec_set) { described_class.new(other_specs) } - - it "merges the items in each gemspec" do - new_spec_set = subject.merge(other_spec_set) - specs = new_spec_set.to_a.map(&:full_name) - expect(specs).to include("a-1.0") - expect(specs).to include("f-1.0") - end - end - describe "#to_a" do it "returns the specs in order" do expect(subject.to_a.map(&:full_name)).to eq %w[ |