mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 05:34:53 +08:00
8 lines
188 B
Ruby
8 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :table do
|
|
name { Faker::Name.unique.name }
|
|
contents { { data: [%w(A B C), %w(D E F), %w(G H I)] }.to_json }
|
|
end
|
|
end
|