Sha256: b7579e0e31c16ba392825edec9e0128fee2aea2589e37bd466087ef960eb7aef

Contents?: true

Size: 253 Bytes

Versions: 13

Compression:

Stored size: 253 Bytes

Contents

FactoryBot.define do
  factory :notification, class: "Comee::Core::Notification" do
    recipient { create(:user) }
    type { "Comee::Core::NewOrderNotification" }
    params { {back_order: create(:back_order)} }
    read_at { Date.current }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
comee_core-0.1.22 spec/factories/comee/core/notifications.rb
comee_core-0.1.21 spec/factories/comee/core/notifications.rb
comee_core-0.1.20 spec/factories/comee/core/notifications.rb
comee_core-0.1.19 spec/factories/comee/core/notifications.rb
comee_core-0.1.18 spec/factories/comee/core/notifications.rb
comee_core-0.1.17 spec/factories/comee/core/notifications.rb
comee_core-0.1.16 spec/factories/comee/core/notifications.rb
comee_core-0.1.15 spec/factories/comee/core/notifications.rb
comee_core-0.1.14 spec/factories/comee/core/notifications.rb
comee_core-0.1.13 spec/factories/comee/core/notifications.rb
comee_core-0.1.12 spec/factories/comee/core/notifications.rb
comee_core-0.1.11 spec/factories/comee/core/notifications.rb
comee_core-0.1.10 spec/factories/comee/core/notifications.rb