mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +08:00
88d7429041
2. fixes gem dependencies issues 3. fixes failing migrations 4. updates depricated factory_girl => factory_bot and fixes related issues Signed-off-by: zmagod <zmago_devetak@yahoo.com>
12 lines
298 B
Ruby
12 lines
298 B
Ruby
FactoryBot.define do
|
|
factory :asset do
|
|
association :created_by, factory: :project_user
|
|
association :team, factory: :team
|
|
file_file_name 'sample_file.txt'
|
|
file_content_type 'text/plain'
|
|
file_file_size 69
|
|
version 1
|
|
estimated_size 232
|
|
file_processing false
|
|
end
|
|
end
|