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 Added RuboCop cops to enforce code reuse rules 2018-09-11 15:00:18 +02:00
qa_helpers_spec.rb Add a new QA::ElementWithPattern cop 2018-10-15 14:28:03 +02:00