mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +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>
7 lines
192 B
Ruby
7 lines
192 B
Ruby
FactoryBot.define do
|
|
factory :repository_row do
|
|
name 'Custom row'
|
|
created_by { User.first || association(:user) }
|
|
last_modified_by { User.first || association(:user) }
|
|
end
|
|
end
|