blob: ba3b0df49250f6b6255b72101f21591a68457341 (
plain)
1
2
3
4
5
6
7
|
require File.expand_path('../../../spec_helper', __FILE__)
describe "Enumerator#first" do
it "returns arrays correctly when calling #first (2376)" do
Enumerator.new {|y| y << [42] }.first.should == [42]
end
end
|