scinote-web/spec/factories/my_module_repository_rows.rb
zmagod 88d7429041 1. fixes failing unit and integration tests
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>
2018-01-23 14:54:15 +01:00

6 lines
199 B
Ruby

FactoryBot.define do
factory :mm_repository_row, class: MyModuleRepositoryRow do
association :repository_row, factory: :repository_row
association :my_module, factory: :my_module
end
end