Serializers spec coverage (#24017)
This commit is contained in:
parent
53309fa31a
commit
56bddfbfa3
12 changed files with 217 additions and 0 deletions
7
spec/fabricators/encrypted_message_fabricator.rb
Normal file
7
spec/fabricators/encrypted_message_fabricator.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:encrypted_message) do
|
||||
device
|
||||
from_account { Fabricate(:account) }
|
||||
from_device_id { Faker::Number.number(digits: 5) }
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue