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 Swap brackets to avoid false positive 2019-05-06 17:30:24 +10:00
helpers Add frozen_string_literal to qa/ 2019-04-13 00:45:38 +12:00
page Treat element#selector_css string appropriately 2019-07-10 16:20:31 -07:00
resource [CE] Improve wait_for_push 2019-02-11 09:04:59 +00:00
runtime First pass at new automated QA API test for #52703 2019-07-01 06:01:44 +00:00
scenario Add frozen_string_literal to qa/ 2019-04-13 00:45:38 +12:00
shared_examples Set feature flag via command line 2019-03-27 19:03:03 +00:00
specs QA: Prefer flat_map over map + flatten 2019-07-22 22:29:14 +00:00
support [CE] Improve wait_for_push 2019-02-11 09:04:59 +00:00
spec_helper.rb Enable Rubocop Performance/InefficientHashSearch 2019-07-24 11:47:58 -07:00