• Yorick Peterse's avatar
    Add methods for injecting EE modules · 916183a7
    Yorick Peterse authored
    This adds the methods prepend_if_ee, extend_if_ee, and include_if_ee
    that can be used to inject EE specific modules in EE.
    
    These methods are exposed as an initializer that is loaded as soon as
    possible. For tests that use fast_spec_helper.rb we must load this
    initializer manually, as the Rails environment is not loaded. This is
    not the most pretty setup, but unfortunately there is no alternative
    that we can use.
    916183a7