summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/unixsocket/open_spec.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-10-30 13:49:46 +0100
committerBenoit Daloze <eregontp@gmail.com>2023-10-30 13:49:46 +0100
commitab4781b64d945e962575f2eac20b72185235d23b (patch)
tree9c4456926c1616b0417db0b389371d578876a136 /spec/ruby/library/socket/unixsocket/open_spec.rb
parent14fa5e39d72c84d3e12e10dc5d77a6e6200c10f5 (diff)
Update to ruby/spec@bd7017f
Diffstat (limited to 'spec/ruby/library/socket/unixsocket/open_spec.rb')
-rw-r--r--spec/ruby/library/socket/unixsocket/open_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/ruby/library/socket/unixsocket/open_spec.rb b/spec/ruby/library/socket/unixsocket/open_spec.rb
index 99ad151bb8..61def30abb 100644
--- a/spec/ruby/library/socket/unixsocket/open_spec.rb
+++ b/spec/ruby/library/socket/unixsocket/open_spec.rb
@@ -2,12 +2,12 @@ require_relative '../spec_helper'
require_relative '../fixtures/classes'
require_relative 'shared/new'
-describe "UNIXSocket.open" do
- it_behaves_like :unixsocket_new, :open
-end
+with_feature :unix_socket do
+ describe "UNIXSocket.open" do
+ it_behaves_like :unixsocket_new, :open
+ end
-describe "UNIXSocket.open" do
- platform_is_not :windows do
+ describe "UNIXSocket.open" do
before :each do
@path = SocketSpecs.socket_path
@server = UNIXServer.open(@path)