diff options
Diffstat (limited to 'spec/ruby/library/stringio/readbyte_spec.rb')
-rw-r--r-- | spec/ruby/library/stringio/readbyte_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/stringio/readbyte_spec.rb b/spec/ruby/library/stringio/readbyte_spec.rb index b87b88b9c2..41a0911293 100644 --- a/spec/ruby/library/stringio/readbyte_spec.rb +++ b/spec/ruby/library/stringio/readbyte_spec.rb @@ -8,10 +8,10 @@ describe "StringIO#readbyte" do it "reads the next 8-bit byte from self's current position" do io = StringIO.new("example") - io.send(@method).should == 101 + io.readbyte.should == 101 io.pos = 4 - io.send(@method).should == 112 + io.readbyte.should == 112 end end |