gab-social/spec/fabricators/web_push_subscription_fabricator.rb

6 lines
180 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
Fabricator(:web_push_subscription, from: Web::PushSubscription) do
endpoint Faker::Internet.url
key_p256dh Faker::Internet.password
key_auth Faker::Internet.password
end