summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/dir/tell_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/dir/tell_spec.rb')
-rw-r--r--spec/rubyspec/core/dir/tell_spec.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/rubyspec/core/dir/tell_spec.rb b/spec/rubyspec/core/dir/tell_spec.rb
new file mode 100644
index 0000000000..fb9848153d
--- /dev/null
+++ b/spec/rubyspec/core/dir/tell_spec.rb
@@ -0,0 +1,18 @@
+require File.expand_path('../../../spec_helper', __FILE__)
+require File.expand_path('../fixtures/common', __FILE__)
+require File.expand_path('../shared/closed', __FILE__)
+require File.expand_path('../shared/pos', __FILE__)
+
+describe "Dir#tell" do
+ before :all do
+ DirSpecs.create_mock_dirs
+ end
+
+ after :all do
+ DirSpecs.delete_mock_dirs
+ end
+
+ it_behaves_like :dir_pos, :tell
+
+ it_behaves_like :dir_closed, :tell
+end