Sha256: 41e453881012b2bd10fd944155d7db29270c14b5db9101f3b577f2900b97402a

Contents?: true

Size: 245 Bytes

Versions: 8

Compression:

Stored size: 245 Bytes

Contents

FactoryGirl.define do
  factory :dorsale_comment, class: ::Dorsale::Comment do
    commentable { DummyModel.create!(name: "abc") }
    author      { create(:user)                   }
    text        { Faker::Lorem.paragraph          }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dorsale-3.1.7 spec/factories/dorsale_comments.rb
dorsale-3.1.6 spec/factories/dorsale_comments.rb
dorsale-3.1.5 spec/factories/dorsale_comments.rb
dorsale-3.1.4 spec/factories/dorsale_comments.rb
dorsale-3.1.3 spec/factories/dorsale_comments.rb
dorsale-3.1.2 spec/factories/dorsale_comments.rb
dorsale-3.1.1 spec/factories/dorsale_comments.rb
dorsale-3.1.0 spec/factories/dorsale_comments.rb