mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 10:14:59 +00:00
Add GCM token field to device
This commit is contained in:
@@ -5,6 +5,7 @@ RSpec.describe Device, type: :model do
|
||||
|
||||
it { should validate_presence_of :unique_id }
|
||||
it { should validate_presence_of :model }
|
||||
it { should validate_presence_of :gcm_token }
|
||||
it { should validate_uniqueness_of :unique_id }
|
||||
|
||||
describe "before create" do
|
||||
|
||||
Reference in New Issue
Block a user