Commit 0d108a48 authored by Piotr Skorupa's avatar Piotr Skorupa

Use key? instead of keys.include?

parent d9f337fe
...@@ -66,7 +66,7 @@ RSpec.describe 'Every metric definition' do ...@@ -66,7 +66,7 @@ RSpec.describe 'Every metric definition' do
end end
def object_with_schema?(key_path) def object_with_schema?(key_path)
metric_files_with_schema.keys.include?(key_path) metric_files_with_schema.key?(key_path)
end end
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment