rating/spec/factories/author.rb

8 lines
125 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :author do
sequence(:name) { |i| "Author #{i}" }
end
end