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