diff options
Diffstat (limited to 'spec/ruby/core/argf/each_spec.rb')
| -rw-r--r-- | spec/ruby/core/argf/each_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/core/argf/each_spec.rb b/spec/ruby/core/argf/each_spec.rb new file mode 100644 index 0000000000..25f60b31d2 --- /dev/null +++ b/spec/ruby/core/argf/each_spec.rb @@ -0,0 +1,7 @@ +require_relative '../../spec_helper' + +describe "ARGF.each" do + it "is an alias of ARGF.each_line" do + ARGF.method(:each).should == ARGF.method(:each_line) + end +end |
