diff options
Diffstat (limited to 'spec/ruby/core/enumerable/find_all_spec.rb')
| -rw-r--r-- | spec/ruby/core/enumerable/find_all_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/core/enumerable/find_all_spec.rb b/spec/ruby/core/enumerable/find_all_spec.rb new file mode 100644 index 0000000000..1095a19569 --- /dev/null +++ b/spec/ruby/core/enumerable/find_all_spec.rb @@ -0,0 +1,7 @@ +require_relative '../../spec_helper' + +describe "Enumerable#find_all" do + it "is an alias of Enumerable#select" do + Enumerable.instance_method(:find_all).should == Enumerable.instance_method(:select) + end +end |
