add Axis, Category and Subject
This commit is contained in:
18
spec/factories/categories.rb
Normal file
18
spec/factories/categories.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: categories
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# name :string
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_categories_on_name (name) UNIQUE
|
||||
#
|
||||
FactoryBot.define do
|
||||
factory :category do
|
||||
name { Faker::Superhero.name }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user