diff options
Diffstat (limited to 'spec/ruby/core/string/each_line_spec.rb')
-rw-r--r-- | spec/ruby/core/string/each_line_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/core/string/each_line_spec.rb b/spec/ruby/core/string/each_line_spec.rb new file mode 100644 index 0000000000..865ae264d6 --- /dev/null +++ b/spec/ruby/core/string/each_line_spec.rb @@ -0,0 +1,9 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../fixtures/classes', __FILE__) +require File.expand_path('../shared/each_line', __FILE__) +require File.expand_path('../shared/each_line_without_block', __FILE__) + +describe "String#each_line" do + it_behaves_like(:string_each_line, :each_line) + it_behaves_like(:string_each_line_without_block, :each_line) +end |