Remove duration controls for blocks that can only be revoked by editing
This commit is contained in:
parent
5e7ab68721
commit
11a7bf7e0e
4 changed files with 53 additions and 5 deletions
|
@ -7,6 +7,12 @@ FactoryBot.define do
|
|||
user
|
||||
creator :factory => :moderator_user
|
||||
|
||||
trait :zero_hour do
|
||||
now = Time.now.utc
|
||||
created_at { now }
|
||||
ends_at { now }
|
||||
end
|
||||
|
||||
trait :needs_view do
|
||||
needs_view { true }
|
||||
deactivates_at { nil }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue