Sha256: f0106abf6762938ef52dd783121d4b64557ea332149c5600569a638765ffff74

Contents?: true

Size: 333 Bytes

Versions: 7

Compression:

Stored size: 333 Bytes

Contents

FactoryBot.define do

  factory :notification, class: Notification do
    to { "noone@app47.com" }
    message { "None message" }
  end

  factory :email_notification, class: EmailNotification do
    to { "noone@app47.com" }
    sender { "someone@app47.com" }
    subject { "here me roar!" }
    message { "None message" }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
web47core-0.1.4 test/factories/notification_factories.rb
web47core-0.1.3 test/factories/notification_factories.rb
web47core-0.1.2 test/factories/notification_factories.rb
web47core-0.1.1 test/factories/notification_factories.rb
web47core-0.1.0 test/factories/notification_factories.rb
web47core-0.0.10 test/factories/notification_factories.rb
web47core-0.0.9 test/factories/notification_factories.rb