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
tauplatform-1.0.1 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rubysl-stringio-1.0.1 spec/shared/tell.rb
rubysl-stringio-1.0.0 spec/shared/tell.rb
rubysl-stringio-2.0.0 spec/shared/tell.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.5 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.4.2 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.4 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.3 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.3.beta.4 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.3.beta.3 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.3.beta.2 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.3.beta.1 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.2 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.2.beta.7 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.2.beta.6 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.2.beta.5 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.2.beta.4 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.2.beta.3 spec/framework_spec/app/spec/library/stringio/shared/tell.rb
rhodes-3.3.2.beta.2 spec/framework_spec/app/spec/library/stringio/shared/tell.rb