Sha256: 8d84b5237460580a6061ddc00dda592d8b0f67065b9e767d1d9e6104c475d881

Contents?: true

Size: 174 Bytes

Versions: 5

Compression:

Stored size: 174 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :voting_vote, class: Voting::Vote do
    author   { create :author }
    resource { create :comment }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voting-0.5.0 spec/factories/voting/vote.rb
voting-0.4.0 spec/factories/voting/vote.rb
voting-0.3.0 spec/factories/voting/vote.rb
voting-0.2.0 spec/factories/voting/vote.rb
voting-0.1.0 spec/factories/voting/vote.rb