e9131ea558
Add webpush notification permission in frontend Co-authored-by: Sojan <sojan@pepalo.com>
10 lines
245 B
Ruby
10 lines
245 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :notification_subscription do
|
|
user
|
|
identifier { 'test' }
|
|
subscription_type { 'browser_push' }
|
|
subscription_attributes { { endpoint: 'test', auth: 'test' } }
|
|
end
|
|
end
|