summaryrefslogtreecommitdiff
path: root/spec/ruby/core/dir/tell_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/dir/tell_spec.rb')
-rw-r--r--spec/ruby/core/dir/tell_spec.rb13
1 files changed, 2 insertions, 11 deletions
diff --git a/spec/ruby/core/dir/tell_spec.rb b/spec/ruby/core/dir/tell_spec.rb
index af86dc1598..04f92a8ade 100644
--- a/spec/ruby/core/dir/tell_spec.rb
+++ b/spec/ruby/core/dir/tell_spec.rb
@@ -1,18 +1,9 @@
require_relative '../../spec_helper'
require_relative 'fixtures/common'
-require_relative 'shared/closed'
require_relative 'shared/pos'
describe "Dir#tell" do
- before :all do
- DirSpecs.create_mock_dirs
+ it "is an alias of Dir#pos" do
+ Dir.instance_method(:tell).should == Dir.instance_method(:pos)
end
-
- after :all do
- DirSpecs.delete_mock_dirs
- end
-
- it_behaves_like :dir_pos, :tell
-
- it_behaves_like :dir_closed, :tell
end