Skip to content
Snippets Groups Projects
Commit 0925f301 authored by James Lopez's avatar James Lopez
Browse files

fix profiles spec

parent b804db26
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,7 +27,7 @@ class ProfilesController < Profiles::ApplicationController
end
 
def reset_private_token
Users::UpdateService.new(@user).execute!(skip_authorization: true) do |user|
Users::UpdateService.new(@user).execute! do |user|
user.reset_authentication_token!
end
 
Loading
Loading
@@ -37,7 +37,7 @@ class ProfilesController < Profiles::ApplicationController
end
 
def reset_incoming_email_token
Users::UpdateService.new(@user).execute!(skip_authorization: true) do |user|
Users::UpdateService.new(@user).execute! do |user|
user.reset_incoming_email_token!
end
 
Loading
Loading
@@ -47,7 +47,7 @@ class ProfilesController < Profiles::ApplicationController
end
 
def reset_rss_token
Users::UpdateService.new(@user).execute!(skip_authorization: true) do |user|
Users::UpdateService.new(@user).execute! do |user|
user.reset_rss_token!
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment