summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/tell_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringio/tell_spec.rb')
-rw-r--r--spec/ruby/library/stringio/tell_spec.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/ruby/library/stringio/tell_spec.rb b/spec/ruby/library/stringio/tell_spec.rb
index af6a01497e..80095999e9 100644
--- a/spec/ruby/library/stringio/tell_spec.rb
+++ b/spec/ruby/library/stringio/tell_spec.rb
@@ -1,7 +1,8 @@
-require File.expand_path('../../../spec_helper', __FILE__)
-require File.expand_path('../fixtures/classes', __FILE__)
-require File.expand_path('../shared/tell', __FILE__)
+require_relative '../../spec_helper'
+require 'stringio'
describe "StringIO#tell" do
- it_behaves_like :stringio_tell, :tell
+ it "is an alias of StringIO#pos" do
+ StringIO.instance_method(:tell).should == StringIO.instance_method(:pos)
+ end
end