Skip to content
Snippets Groups Projects
Commit 15f62fcc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix profile emails with new key route

parent afc9d548
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7,4 +7,4 @@
%code= @key.title
%p
If this key was added in error, you can remove it here:
= link_to "SSH Keys", keys_url
= link_to "SSH Keys", profile_keys_url
Loading
Loading
@@ -4,4 +4,4 @@ A new public key was added to your account:
 
title.................. <%= @key.title %>
 
If this key was added in error, you can remove it here: <%= keys_url %>
If this key was added in error, you can remove it here: <%= profile_keys_url %>
Loading
Loading
@@ -10,8 +10,8 @@ describe "Users Security" do
it { new_user_session_path.should_not be_404_for :visitor }
end
 
describe "GET /keys" do
subject { keys_path }
describe "GET /profile/keys" do
subject { profile_keys_path }
 
it { should be_allowed_for @u1 }
it { should be_allowed_for :admin }
Loading
Loading
Loading
Loading
@@ -86,7 +86,7 @@ describe Notify do
end
 
it 'includes a link to ssh keys page' do
should have_body_text /#{keys_path}/
should have_body_text /#{profile_keys_path}/
end
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