rubyspec/rubyspec — pull request #260 by alexch (2013-11-07 02:00:50+00:00)
Title: add spec for Array#select passing arguments to the default block

These tests existed for `each` but not for `select` (and would have caught a bug in Opal if they did). So I copied them over from `each_spec.rb`.

On a related note, a lot of specs say `it_behaves_like :select` but I can't find any shared spec named `:select`. Did it ever exist? Seems like maybe a good idea if the `select_spec` specs apply to lots of Enumerables, not just Array.