API for apps to register for push notifications
This commit is contained in:
parent
1992575d57
commit
3f075c7794
13 changed files with 112 additions and 2 deletions
3
spec/fabricators/device_fabricator.rb
Normal file
3
spec/fabricators/device_fabricator.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
Fabricator(:device) do
|
||||
registration_id "12345678"
|
||||
end
|
|
@ -1,3 +1,3 @@
|
|||
Fabricator(:domain_block) do
|
||||
domain "MyString"
|
||||
domain "example.com"
|
||||
end
|
||||
|
|
5
spec/models/device_spec.rb
Normal file
5
spec/models/device_spec.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Device, type: :model do
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue