* Nullify audit logs on users delete * Fix specs * Set user as optional and test moderator audit log page * Fix spec
5 lines
119 B
Ruby
5 lines
119 B
Ruby
require "rails_helper"
|
|
|
|
RSpec.describe AuditLog, type: :model do
|
|
it { is_expected.to belong_to(:user).optional }
|
|
end
|