gitlab-org--gitlab-foss/spec/rubocop
Yorick Peterse 9722158c15
Fix detecting nested EE constants in RuboCop
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.
2019-01-16 16:48:18 +01:00
..
cop Fix detecting nested EE constants in RuboCop 2019-01-16 16:48:18 +01:00
code_reuse_helpers_spec.rb
qa_helpers_spec.rb