aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/stringio/getc_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringio/getc_spec.rb')
-rw-r--r--spec/ruby/library/stringio/getc_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/library/stringio/getc_spec.rb b/spec/ruby/library/stringio/getc_spec.rb
index 9c0a28a1f0..263d418316 100644
--- a/spec/ruby/library/stringio/getc_spec.rb
+++ b/spec/ruby/library/stringio/getc_spec.rb
@@ -8,9 +8,9 @@ describe "StringIO#getc" do
it "returns the character at the current position" do
io = StringIO.new("example")
- io.send(@method).should == ?e
- io.send(@method).should == ?x
- io.send(@method).should == ?a
+ io.getc.should == ?e
+ io.getc.should == ?x
+ io.getc.should == ?a
end
end