summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/each_byte_spec.rb
blob: 6f82a32441064d9ddb006b8bd3c560cd2eba1137 (plain)
1
2
3
4
5
6
7
8
9
10
11
require_relative '../../spec_helper'
require 'stringio'
require_relative 'shared/each_byte'

describe "StringIO#each_byte" do
  it_behaves_like :stringio_each_byte, :each_byte
end

describe "StringIO#each_byte when self is not readable" do
  it_behaves_like :stringio_each_byte_not_readable, :each_byte
end