remove-acts-as-taggable #38
| @ -1,7 +1,6 @@ | |||||||
| FactoryBot.define do | FactoryBot.define do | ||||||
|   factory :group do |   factory :group do | ||||||
|     name { "MyString" } |     sequence(:name) { |i| "Group #{i}" } | ||||||
|     icon { "MyString" } |  | ||||||
|     order { 1 } |     order { 1 } | ||||||
|   end |   end | ||||||
| end | end | ||||||
|  | |||||||
| @ -1,5 +1,7 @@ | |||||||
| FactoryBot.define do | FactoryBot.define do | ||||||
|   factory :guest do |   factory :guest do | ||||||
|  |     association :group | ||||||
|  | 
 | ||||||
|     first_name { Faker::Name.first_name } |     first_name { Faker::Name.first_name } | ||||||
|     last_name { Faker::Name.last_name } |     last_name { Faker::Name.last_name } | ||||||
|     email { Faker::Internet.email } |     email { Faker::Internet.email } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user