lib/cucumber/formatter/json.rb in cucumber-9.1.0 vs lib/cucumber/formatter/json.rb in cucumber-9.1.1
- old
+ new
@@ -112,10 +112,10 @@
def internal_hook?(test_step)
test_step.location.file.include?('lib/cucumber/')
end
def current_feature
- @feature_hash ||= {} # rubocop:disable Naming/MemoizedInstanceVariableName
+ @feature_hash ||= {}
end
def feature_elements
@feature_hash[:elements] ||= []
end