Sha256: f3d9d31deed2aebbc451351b06fee70fe14d25e6f22a7f59ca2479c2dd3fa289

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

# 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rating-0.2.0 spec/factories/rating/rating.rb
rating-0.1.0 spec/factories/rating/rating.rb