spec/support/helpers.rb in landable-1.13.1 vs spec/support/helpers.rb in landable-1.13.2

- old
+ new

@@ -5,10 +5,10 @@ SecureRandom.uuid end def at_json(path, object = last_json) path.split('/').reduce object do |parent, key| - key = key.to_i if Array === parent + key = key.to_i if parent.is_a?(Array) parent.fetch key end end end