API for apps to register for push notifications
This commit is contained in:
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
|
Reference in New Issue
Block a user