diff options
Diffstat (limited to 'spec/ruby/core/string/lines_spec.rb')
-rw-r--r-- | spec/ruby/core/string/lines_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/string/lines_spec.rb b/spec/ruby/core/string/lines_spec.rb index 6b2d74daf1..1c13936c30 100644 --- a/spec/ruby/core/string/lines_spec.rb +++ b/spec/ruby/core/string/lines_spec.rb @@ -7,7 +7,7 @@ describe "String#lines" do it_behaves_like :string_each_line, :lines it "returns an array when no block given" do - ary = "hello world".send(@method, ' ') + ary = "hello world".lines(' ') ary.should == ["hello ", "world"] end |