Sha256: 6898d267028f61cd211031bc6a23377d9e393fbde3c7fd604896d83ccf83834d

Contents?: true

Size: 249 Bytes

Versions: 59

Compression:

Stored size: 249 Bytes

Contents

describe :stringio_tell, :shared => true do
  before(:each) do
    @io = StringIOSpecs.build
  end

  it "returns the current byte offset" do
    @io.getc
    @io.send(@method).should == 1
    @io.read(7)
    @io.send(@method).should == 8
  end
end

Version data entries

59 entries across 59 versions & 3 rubygems

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-7.5.1 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-7.4.1 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-7.1.17 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-6.2.0 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rubysl-stringio-2.3 spec/shared/tell.rb
rhodes-6.0.11 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rubysl-stringio-2.2 spec/shared/tell.rb
rubysl-stringio-2.1 spec/shared/tell.rb
rhodes-5.5.18 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-5.5.17 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-5.5.15 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-5.5.2 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-5.5.0 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rubysl-stringio-2.1.0 spec/shared/tell.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/library/stringio/shared/tell.rb