Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rspec_flaky/flaky_examples_collection.rb')
-rw-r--r--lib/rspec_flaky/flaky_examples_collection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rspec_flaky/flaky_examples_collection.rb b/lib/rspec_flaky/flaky_examples_collection.rb
index 290a51766e9..b86ec82bde6 100644
--- a/lib/rspec_flaky/flaky_examples_collection.rb
+++ b/lib/rspec_flaky/flaky_examples_collection.rb
@@ -23,7 +23,7 @@ module RspecFlaky
end
def to_h
- Hash[map { |uid, example| [uid, example.to_h] }].deep_symbolize_keys
+ transform_values { |example| example.to_h }.deep_symbolize_keys
end
def -(other)