summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/addrinfo/to_s_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/addrinfo/to_s_spec.rb')
-rw-r--r--spec/ruby/library/socket/addrinfo/to_s_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/ruby/library/socket/addrinfo/to_s_spec.rb b/spec/ruby/library/socket/addrinfo/to_s_spec.rb
index 5ac31e3099..ddf994e051 100644
--- a/spec/ruby/library/socket/addrinfo/to_s_spec.rb
+++ b/spec/ruby/library/socket/addrinfo/to_s_spec.rb
@@ -1,6 +1,5 @@
-require_relative '../../../spec_helper'
+require_relative '../spec_helper'
require_relative 'shared/to_sockaddr'
-require 'socket'
describe "Addrinfo#to_s" do
it_behaves_like :socket_addrinfo_to_sockaddr, :to_s