diff options
Diffstat (limited to 'lib/rspec_flaky/flaky_examples_collection.rb')
-rw-r--r-- | lib/rspec_flaky/flaky_examples_collection.rb | 2 |
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) |