Rename Code tab to Repo

Closes #18830
This commit is contained in:
Stan Hu 2016-06-20 12:30:04 -07:00
parent 74f8f26098
commit 26d2fa0aaa
3 changed files with 6 additions and 6 deletions

View File

@ -38,9 +38,9 @@
- if project_nav_tab? :files
= nav_link(controller: %w(tree blob blame edit_tree new_tree find_file commit commits compare repositories tags branches releases network)) do
= link_to project_files_path(@project), title: 'Code', class: 'shortcuts-tree' do
= link_to project_files_path(@project), title: 'Repo', class: 'shortcuts-tree' do
%span
Code
Repo
- if project_nav_tab? :pipelines
= nav_link(controller: [:pipelines, :builds, :environments]) do

View File

@ -13,12 +13,12 @@ class Spinach::Features::ProjectFindFile < Spinach::FeatureSteps
end
step 'I should see "find file" page' do
ensure_active_main_tab('Code')
ensure_active_main_tab('Repo')
expect(page).to have_selector('.file-finder-holder', count: 1)
end
step 'I fill in Find by path with "git"' do
ensure_active_main_tab('Code')
ensure_active_main_tab('Repo')
expect(page).to have_selector('.file-finder-holder', count: 1)
end

View File

@ -8,8 +8,8 @@ module SharedProjectTab
ensure_active_main_tab('Project')
end
step 'the active main tab should be Code' do
ensure_active_main_tab('Code')
step 'the active main tab should be Repo' do
ensure_active_main_tab('Repo')
end
step 'the active main tab should be Graphs' do