chore: add annotations to factories and models specs

This commit is contained in:
Adam Cooke
2024-02-23 22:51:35 +00:00
parent 8765d8e57a
commit ed6da11b65
10 changed files with 211 additions and 0 deletions
+13
View File
@@ -1,5 +1,18 @@
# frozen_string_literal: true
# == Schema Information
#
# Table name: worker_roles
#
# id :bigint not null, primary key
# acquired_at :datetime
# role :string(255)
# worker :string(255)
#
# Indexes
#
# index_worker_roles_on_role (role) UNIQUE
#
FactoryBot.define do
factory :worker_role do
role { "test" }