mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 08:36:21 +00:00
claramente ese atributo no sirve para nada
This commit is contained in:
parent
458b501f7a
commit
b94bcfd0f5
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class MetadataArrayTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
test 'no puede estar vacía si es obligatoria' do
|
test 'no puede estar vacía si es obligatoria' do
|
||||||
@layout = build(:layout, site: @site, metadata: { @name => { 'default' => { 'required' => true } } })
|
@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)
|
required: true)
|
||||||
|
|
||||||
assert @metadata.required
|
assert @metadata.required
|
||||||
|
|
Loading…
Reference in a new issue