Sha256: 74a032f3bda3119ee1d10370402c03b79fc5a674d3af0d457df994c7ec89a75c
Contents?: true
Size: 315 Bytes
Versions: 10
Compression:
Stored size: 315 Bytes
Contents
FactoryGirl.define do factory :notification, class: Wupee::Notification do association :receiver, factory: :user, strategy: :create association :attached_object, factory: :message, strategy: :create notification_type { Wupee::NotificationType.find_or_create_by(name: 'notify_new_message') } end end
Version data entries
10 entries across 10 versions & 1 rubygems