Sha256: 0ce17e5c72271e0e548236eb73efa0d55973fa1413f26728778ea43f827bb23e

Contents?: true

Size: 249 Bytes

Versions: 8

Compression:

Stored size: 249 Bytes

Contents

FactoryGirl.define do
  factory :subscription, class: ActivityNotification::Subscription do
    association :target, factory: :confirmed_user
    key "default.default"
    subscribed_at Time.current
    subscribed_to_email_at Time.current
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activity_notification-1.4.3 spec/factories/subscriptions.rb
activity_notification-1.4.2 spec/factories/subscriptions.rb
activity_notification-1.4.1 spec/factories/subscriptions.rb
activity_notification-1.4.0 spec/factories/subscriptions.rb
activity_notification-1.3.0 spec/factories/subscriptions.rb
activity_notification-1.2.1 spec/factories/subscriptions.rb
activity_notification-1.2.0 spec/factories/subscriptions.rb
activity_notification-1.1.0 spec/factories/subscriptions.rb