Commit fcb8fb1d authored by James Lopez's avatar James Lopez

fix spec failures

parent ae0981ee
module EE
module PasswordsController
extend ActiveSupport::Concern
prepended do
before_action :log_audit_event, only: [:create]
end
......@@ -7,7 +9,7 @@ module EE
private
def log_audit_event
AuditEventService.new(current_user,
::AuditEventService.new(current_user,
resource,
action: :custom,
custom_message: 'Ask for password reset',
......
......@@ -14,7 +14,7 @@ module EE
private
def log_audit_event
AuditEventService.new(current_user,
::AuditEventService.new(current_user,
current_user,
action: :custom,
custom_message: 'Added SSH key',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment