Address review comments from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
This commit is contained in:
parent
b249e40273
commit
b398265a98
|
@ -232,7 +232,7 @@ class User < ApplicationRecord
|
|||
end
|
||||
|
||||
# Bans a user.
|
||||
# @param duration [Fixnum, nil] Ban duration
|
||||
# @param duration [Integer?] Ban duration
|
||||
# @param duration_unit [String, nil] Unit for the <code>duration</code> parameter. Accepted units: hours, days, weeks, months
|
||||
# @param reason [String] Reason for the ban. This is displayed to the user.
|
||||
# @param banned_by [User] User who instated the ban
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe UserBan, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
Loading…
Reference in New Issue