about summary refs log tree commit diff
path: root/spec/fabricators/list_account_fabricator.rb
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2023-03-04 12:31:13 -0500
committerGitHub <noreply@github.com>2023-03-04 18:31:13 +0100
commit2d1ccb3d8b9427cdc8ec1e187980458ab8a0890f (patch)
treecd4f43a1f5e3bdcca7be00f05ee034d1673360e0 /spec/fabricators/list_account_fabricator.rb
parent506b16cf595bf441b9a85db608b6d19e8934fd7d (diff)
Restore missing fabricators (#23951)
Diffstat (limited to 'spec/fabricators/list_account_fabricator.rb')
-rw-r--r--spec/fabricators/list_account_fabricator.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/fabricators/list_account_fabricator.rb b/spec/fabricators/list_account_fabricator.rb
new file mode 100644
index 000000000..00dde83cd
--- /dev/null
+++ b/spec/fabricators/list_account_fabricator.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+Fabricator(:list_account) do
+  list
+  account
+  before_create { |list_account, _| list_account.list.account.follow!(account) }
+end