mirror of
				https://github.com/scinote-eln/scinote-web.git
				synced 2025-11-04 12:07:23 +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
 |