13 lines
213 B
Ruby
13 lines
213 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :rating_rating, class: Rating::Rating do
|
|
average 100
|
|
estimate 100
|
|
sum 100
|
|
total 1
|
|
|
|
resource { create :article }
|
|
end
|
|
end
|