Fix #4106: Allow moderators to IP ban subnets.

This commit is contained in:
evazion
2019-08-12 02:12:56 -05:00
parent 9729eeb829
commit 7316f41d1d
6 changed files with 62 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
FactoryBot.define do
factory(:ip_ban) do
creator :factory => :user
reason {FFaker::Lorem.words.join(" ")}
ip_addr {"127.0.0.2"}
creator
reason { FFaker::Lorem.words.join(" ") }
ip_addr { FFaker::Internet.ip_v4_address }
end
end