spec/factories.rb in json_matchers-0.10.0 vs spec/factories.rb in json_matchers-0.11.0
- old
+ new
@@ -66,9 +66,10 @@
trait :referencing_locations do
association :items, factory: [:schema, :location]
initialize_with do
FakeSchema.new(name, {
+ "id": "file:/#{name}.json#",
"$schema": "https://json-schema.org/draft-04/schema#",
"type": "array",
"items": { "$ref": "file:/#{items.name}.json#" },
})
end