added tests

This commit is contained in:
Hauke Klement
2015-02-26 15:37:24 +01:00
parent 8dfc92d8c9
commit fab95d6f31
2 changed files with 126 additions and 0 deletions

View File

@@ -67,6 +67,13 @@ FactoryGirl.define do
singleton_file_type
end
factory :dot_md, class: FileType do
created_by_admin
file_extension '.md'
name 'Markdown'
singleton_file_type
end
factory :dot_mp3, class: FileType do
binary
created_by_admin