about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2023-03-10 06:12:51 -0500
committerGitHub <noreply@github.com>2023-03-10 12:12:51 +0100
commit56bddfbfa39956ea3a8c52721eb364b1120634f6 (patch)
tree7370999f6b3d5a4cb07fdf2e029cdfc0644df00b /spec/fabricators
parent53309fa31a4106500e2da80b845fad08d7d09900 (diff)
Serializers spec coverage (#24017)
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/encrypted_message_fabricator.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/fabricators/encrypted_message_fabricator.rb b/spec/fabricators/encrypted_message_fabricator.rb
new file mode 100644
index 000000000..43b310514
--- /dev/null
+++ b/spec/fabricators/encrypted_message_fabricator.rb
@@ -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