add file_extension validation for file_type

This commit is contained in:
Karol
2023-02-06 21:45:01 +01:00
committed by Sebastian Serth
parent 454b34275c
commit 637f872f34
3 changed files with 8 additions and 0 deletions

View File

@ -186,6 +186,7 @@ FactoryBot.define do
factory :makefile, class: 'FileType' do
created_by_admin
editor_mode { 'ace/mode/makefile' }
file_extension { '' }
executable
indent_size { 2 }
name { 'Makefile' }