3e001d29cc
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 |
||
---|---|---|
.. | ||
factory/resource | ||
fixtures | ||
git | ||
helpers | ||
page | ||
resource | ||
runtime | ||
scenario | ||
shared_examples | ||
specs | ||
support | ||
spec_helper.rb |