mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
13 lines
297 B
Ruby
13 lines
297 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
FactoryBot.define do
|
||
|
factory :repository_snapshot do
|
||
|
name { original_repository.name }
|
||
|
status { :ready }
|
||
|
created_by { original_repository.created_by }
|
||
|
team { original_repository.team }
|
||
|
original_repository { repository }
|
||
|
my_module
|
||
|
end
|
||
|
end
|