Initial commit
This commit is contained in:
10
spec/factories/label.rb
Normal file
10
spec/factories/label.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
FactoryBot.define do
|
||||
factory :label do
|
||||
key { ::Faker::Internet.slug(glue: '-') }
|
||||
value { ::Faker::Internet.slug(glue: '-') }
|
||||
scope { 'public' }
|
||||
user { create(:user) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user