Revert "Fix enumeration_reflection_spec"

This reverts commit c8e587213dbc703a9cce6efd7bd0ea54d37fe0c5.
Initialize conditionally based on rails version