diff --git a/test/models/metadata_array_test.rb b/test/models/metadata_array_test.rb index bda36a57..93197db3 100644 --- a/test/models/metadata_array_test.rb +++ b/test/models/metadata_array_test.rb @@ -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