summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-09-08 12:10:34 +0200
committergit <svn-admin@ruby-lang.org>2022-09-08 20:44:35 +0900
commite0cd466ae71cd483b73d28128df1a02dd52fcb92 (patch)
tree518812c63998868ff970daa206fa4014cacea73d /spec
parentbcf82b7c26a88a2521715a38990f0ab081001190 (diff)
[rubygems/rubygems] Fix unused variable warning
https://github.com/rubygems/rubygems/commit/ca8d47e53a
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/bundler/endpoint_specification_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/bundler/bundler/endpoint_specification_spec.rb b/spec/bundler/bundler/endpoint_specification_spec.rb
index 81fcd76e01..7dd6925007 100644
--- a/spec/bundler/bundler/endpoint_specification_spec.rb
+++ b/spec/bundler/bundler/endpoint_specification_spec.rb
@@ -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