summaryrefslogtreecommitdiff
path: root/spec/factories/users/banned_users.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/users/banned_users.rb')
-rw-r--r--spec/factories/users/banned_users.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/users/banned_users.rb b/spec/factories/users/banned_users.rb
new file mode 100644
index 00000000000..f2b6eb5893a
--- /dev/null
+++ b/spec/factories/users/banned_users.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+FactoryBot.define do
+ factory :banned_user, class: 'Users::BannedUser' do
+ user { association(:user) }
+ end
+end