1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Fix unused variable warning

https://github.com/rubygems/rubygems/commit/ca8d47e53a
This commit is contained in:
David Rodríguez 2022-09-08 12:10:34 +02:00 committed by git
parent bcf82b7c26
commit e0cd466ae7

View file

@ -54,8 +54,6 @@ RSpec.describe Bundler::EndpointSpecification do
let(:required_ruby_version) { existing_value }
it "should return the current value when already set on endpoint specification" do
remote_spec = double(:remote_spec, :required_ruby_version => "remote_value", :required_rubygems_version => nil)
expect(spec.required_ruby_version). eql?(existing_value)
end
end