Added specs on Kernel#to_enum with block.
Kernel#to_enum: assign passed block to Enumerator#size, when given.
Merge pull request #2930 from razielgn/kernel-enum_for-size-block

Kernel#to_enum: assign passed block to Enumerator#size, when given.