5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 06:26:22 +00:00

fix: especificar el tipo
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

claramente ese atributo no sirve para nada
This commit is contained in:
f 2023-10-06 17:19:13 -03:00
parent 458b501f7a
commit b94bcfd0f5
No known key found for this signature in database

View file

@ -27,7 +27,7 @@ class MetadataArrayTest < ActiveSupport::TestCase
test 'no puede estar vacía si es obligatoria' do
@layout = build(:layout, site: @site, metadata: { @name => { 'default' => { 'required' => true } } })
@metadata = MetadataArray.new(site: @site, document: @document, name: @name, type: 'string', layout: @layout,
@metadata = MetadataArray.new(site: @site, document: @document, name: @name, type: 'array', layout: @layout,
required: true)
assert @metadata.required