Sha256: 9de09e8d08e51bb968bc88612224770539ea78cf755be51e0c1ead87087e8053

Contents?: true

Size: 252 Bytes

Versions: 72

Compression:

Stored size: 252 Bytes

Contents

FactoryBot.define do

  factory :message do
    exercise_id { Faker::Internet.number(2) }
    assignment
    submission_id { assignment.id }
    sender { Faker::Internet.email }
    type { 'success' }
    content { Faker::Lorem.sentence(3) }
  end
end

Version data entries

72 entries across 72 versions & 2 rubygems

Version Path
mumuki-domain-7.7.1 lib/mumuki/domain/factories/message_factory.rb
mumuki-laboratory-7.7.1 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-cb7a9018bb94/lib/mumuki/domain/factories/message_factory.rb
mumuki-laboratory-7.7.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-cb7a9018bb94/lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.7.0 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.6.1 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.6.0 lib/mumuki/domain/factories/message_factory.rb
mumuki-laboratory-7.5.2 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-ad16a5930cec/lib/mumuki/domain/factories/message_factory.rb
mumuki-laboratory-7.5.1 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-a059418e5fd8/lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.5.1 lib/mumuki/domain/factories/message_factory.rb
mumuki-laboratory-7.5.0 vendor/bundle/ruby/2.6.0/bundler/gems/mumuki-domain-acb12583b793/lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.5.0 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.4.1 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.4.0 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.3.2 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.3.1 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.2.3 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.3.0 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.2.2 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.2.1 lib/mumuki/domain/factories/message_factory.rb
mumuki-domain-7.2.0 lib/mumuki/domain/factories/message_factory.rb