Sha256: fcd26a818cf0cee08bb89ecdee4a91bc17a8f7798baf904efa93b093605bec02

Contents?: true

Size: 331 Bytes

Versions: 7

Compression:

Stored size: 331 Bytes

Contents

require 'stringio'
require File.expand_path('../shared/each_char', __FILE__)

ruby_version_is "1.8.7" do
  describe "StringIO#each_char" do
    it_behaves_like :stringio_each_char, :each_char
  end

  describe "StringIO#each_char when self is not readable" do
    it_behaves_like :stringio_each_char_not_readable, :chars
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubysl-stringio-2.3 spec/each_char_spec.rb
rubysl-stringio-2.2 spec/each_char_spec.rb
rubysl-stringio-2.1 spec/each_char_spec.rb
rubysl-stringio-2.1.0 spec/each_char_spec.rb
rubysl-stringio-1.0.1 spec/each_char_spec.rb
rubysl-stringio-1.0.0 spec/each_char_spec.rb
rubysl-stringio-2.0.0 spec/each_char_spec.rb