Address review comments from @nilsding

Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
This commit is contained in:
Karina Kwiatek 2022-01-06 13:56:55 +01:00
parent b249e40273
commit b398265a98
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -1,5 +0,0 @@
require 'rails_helper'
RSpec.describe UserBan, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
end