summaryrefslogtreecommitdiff
path: root/spec/ruby/core/file/unlink_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/file/unlink_spec.rb')
-rw-r--r--spec/ruby/core/file/unlink_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/ruby/core/file/unlink_spec.rb b/spec/ruby/core/file/unlink_spec.rb
index 28872d55ed..db0c08f3ae 100644
--- a/spec/ruby/core/file/unlink_spec.rb
+++ b/spec/ruby/core/file/unlink_spec.rb
@@ -1,6 +1,7 @@
require_relative '../../spec_helper'
-require_relative 'shared/unlink'
describe "File.unlink" do
- it_behaves_like :file_unlink, :unlink
+ it "is an alias of File.delete" do
+ File.method(:unlink).should == File.method(:delete)
+ end
end