summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/ruby/core/file/lchmod_spec.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/ruby/core/file/lchmod_spec.rb b/spec/ruby/core/file/lchmod_spec.rb
index 4abe42526d..7420b95e4a 100644
--- a/spec/ruby/core/file/lchmod_spec.rb
+++ b/spec/ruby/core/file/lchmod_spec.rb
@@ -29,22 +29,4 @@ describe "File.lchmod" do
File.stat(@lname).should.writable?
end
end
-
- platform_is :openbsd, :aix do
- it "returns false from #respond_to?" do
- File.respond_to?(:lchmod).should be_false
- end
-
- it "raises a NotImplementedError when called" do
- -> { File.lchmod 0, "foo" }.should raise_error(NotImplementedError)
- end
- end
-
- platform_is :linux do
- it "raises a NotImplementedError or Errno::ENOTSUP when called" do
- -> { File.lchmod 0, "foo" }.should raise_error(Exception) { |e|
- [NotImplementedError, Errno::ENOTSUP].should include(e.class)
- }
- end
- end
end