rating/spec/factories/article.rb

8 lines
127 B
Ruby

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