diff --git a/app/models/user.rb b/app/models/user.rb index 0581621a..612c8a8d 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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 duration 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 diff --git a/spec/models/user_ban_spec.rb b/spec/models/user_ban_spec.rb deleted file mode 100644 index f7902eea..00000000 --- a/spec/models/user_ban_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'rails_helper' - -RSpec.describe UserBan, type: :model do - pending "add some examples to (or delete) #{__FILE__}" -end