Remove test for removed page and add menu highlight for build page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
e52de6771f
commit
7d220c1e79
2 changed files with 1 additions and 21 deletions
|
@ -32,7 +32,7 @@
|
|||
Files
|
||||
|
||||
- if project_nav_tab? :commits
|
||||
= nav_link(controller: %w(commit commits compare repositories tags branches)) do
|
||||
= nav_link(controller: %w(commit commits compare repositories tags branches builds)) do
|
||||
= link_to project_commits_path(@project), title: 'Commits', class: 'shortcuts-commits', data: {placement: 'right'} do
|
||||
= icon('history fw')
|
||||
%span
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe "Projects" do
|
||||
let(:user) { create(:user) }
|
||||
|
||||
before do
|
||||
login_as(user)
|
||||
@project = FactoryGirl.create :ci_project, name: "GitLab / gitlab-shell"
|
||||
@project.gl_project.team << [user, :master]
|
||||
end
|
||||
|
||||
describe "GET /ci/projects/:id" do
|
||||
before do
|
||||
visit ci_project_path(@project)
|
||||
end
|
||||
|
||||
it { expect(page).to have_content @project.name }
|
||||
it { expect(page).to have_content 'All commits' }
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue