mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 05:34:53 +08:00
12 lines
297 B
Ruby
12 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
|