summaryrefslogtreecommitdiff
path: root/spec/ruby/core/file/stat/ftype_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/file/stat/ftype_spec.rb')
-rw-r--r--spec/ruby/core/file/stat/ftype_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/ruby/core/file/stat/ftype_spec.rb b/spec/ruby/core/file/stat/ftype_spec.rb
index a19e7c43d7..eb892eae5f 100644
--- a/spec/ruby/core/file/stat/ftype_spec.rb
+++ b/spec/ruby/core/file/stat/ftype_spec.rb
@@ -55,10 +55,6 @@ describe "File::Stat#ftype" do
end
end
- # This will silently not execute the block if no socket
- # can be found. However, if you are running X, there is
- # a good chance that if nothing else, at least the X
- # Server socket exists.
it "returns 'socket' when the file is a socket" do
FileSpecs.socket do |socket|
File.lstat(socket).ftype.should == 'socket'