Commit 9339b5f4 authored by George Tsiolis's avatar George Tsiolis

Update no repository placeholder

parent 3cd95700
- breadcrumb_title "Details"
%h2 %h2
%i.fa.fa-warning %i.fa.fa-warning
#{ _('No repository') } #{ _('No repository') }
...@@ -19,4 +21,4 @@ ...@@ -19,4 +21,4 @@
- if can? current_user, :remove_project, @project - if can? current_user, :remove_project, @project
.prepend-top-20 .prepend-top-20
= link_to _('Remove project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-remove pull-right" = link_to _('Remove project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-inverted btn-remove pull-right"
---
title: Update no repository placeholder
merge_request: 17964
author: George Tsiolis
type: fixed
...@@ -43,14 +43,14 @@ feature 'Profile > Account' do ...@@ -43,14 +43,14 @@ feature 'Profile > Account' do
update_username(new_username) update_username(new_username)
visit new_project_path visit new_project_path
expect(current_path).to eq(new_project_path) expect(current_path).to eq(new_project_path)
expect(find('.breadcrumbs-sub-title')).to have_content(project.path) expect(find('.breadcrumbs-sub-title')).to have_content('Details')
end end
scenario 'the old project path redirects to the new path' do scenario 'the old project path redirects to the new path' do
update_username(new_username) update_username(new_username)
visit old_project_path visit old_project_path
expect(current_path).to eq(new_project_path) expect(current_path).to eq(new_project_path)
expect(find('.breadcrumbs-sub-title')).to have_content(project.path) expect(find('.breadcrumbs-sub-title')).to have_content('Details')
end end
end end
end end
......
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