The InjectEnterpriseEditionModule cop would not detect certain nested EE constants such as `EE::Foo::Bar::Baz`. This could result in it not enforcing `prepend` being placed on the last line. This commit fixes this by just performing a string match on the line, instead of relying on AST matching. |
||
|---|---|---|
| .. | ||
| cop | ||
| code_reuse_helpers_spec.rb | ||
| qa_helpers_spec.rb | ||