add Axis, Category and Subject

This commit is contained in:
João Geonizeli
2022-07-21 09:43:08 -03:00
parent 284c17c84d
commit e191afa904
16 changed files with 302 additions and 22 deletions

18
spec/factories/axes.rb Normal file
View File

@@ -0,0 +1,18 @@
# == Schema Information
#
# Table name: axes
#
# id :bigint not null, primary key
# name :string
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_axes_on_name (name) UNIQUE
#
FactoryBot.define do
factory :axis do
name { Faker::Superhero.name }
end
end