Commit fcb8fb1d authored by James Lopez's avatar James Lopez

fix spec failures

parent ae0981ee
module EE module EE
module PasswordsController module PasswordsController
extend ActiveSupport::Concern
prepended do prepended do
before_action :log_audit_event, only: [:create] before_action :log_audit_event, only: [:create]
end end
...@@ -7,7 +9,7 @@ module EE ...@@ -7,7 +9,7 @@ module EE
private private
def log_audit_event def log_audit_event
AuditEventService.new(current_user, ::AuditEventService.new(current_user,
resource, resource,
action: :custom, action: :custom,
custom_message: 'Ask for password reset', custom_message: 'Ask for password reset',
......
...@@ -14,7 +14,7 @@ module EE ...@@ -14,7 +14,7 @@ module EE
private private
def log_audit_event def log_audit_event
AuditEventService.new(current_user, ::AuditEventService.new(current_user,
current_user, current_user,
action: :custom, action: :custom,
custom_message: 'Added SSH key', 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