rating/spec/factories/rating/rate.rb

11 lines
189 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :rating_rate, class: Rating::Rate do
value 100
author { create :author }
resource { create :article }
end
end