gitlab-org--gitlab-foss/qa/spec
Stan Hu 3e001d29cc Enable Rubocop Performance/InefficientHashSearch
When used with a Hash, `.keys.include?` is bad because:

1. It performs a O(n) search instead of the efficient `.has_key?`
2. It clones all keys into separate array.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64975
2019-07-24 11:47:58 -07:00
..
factory/resource
fixtures
git
helpers
page Treat element#selector_css string appropriately 2019-07-10 16:20:31 -07:00
resource
runtime
scenario
shared_examples
specs QA: Prefer `flat_map` over `map` + `flatten` 2019-07-22 22:29:14 +00:00
support
spec_helper.rb Enable Rubocop Performance/InefficientHashSearch 2019-07-24 11:47:58 -07:00