summaryrefslogtreecommitdiff
path: root/spec/features/projects/commit/builds_spec.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2016-12-26 23:15:41 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2016-12-26 23:15:41 +0000
commit40c9bec847cd95dbbecc42a1148fea0af4edc567 (patch)
treef4b0fb15ca3db84971f9573aea6ce86e8986bad6 /spec/features/projects/commit/builds_spec.rb
parent1119c1f6569755751dcb6789b944df73a1c7be12 (diff)
downloadgitlab-ce-revert-79a816f3.tar.gz
Revert "Merge branch '23638-remove-builds-tab' into 'master'"revert-79a816f3
This reverts merge request !7763
Diffstat (limited to 'spec/features/projects/commit/builds_spec.rb')
-rw-r--r--spec/features/projects/commit/builds_spec.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/spec/features/projects/commit/builds_spec.rb b/spec/features/projects/commit/builds_spec.rb
index 33f1c323af1..fcdf7870f34 100644
--- a/spec/features/projects/commit/builds_spec.rb
+++ b/spec/features/projects/commit/builds_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-feature 'project commit pipelines' do
+feature 'project commit builds' do
given(:project) { create(:project) }
background do
@@ -16,13 +16,11 @@ feature 'project commit pipelines' do
ref: 'master')
end
- scenario 'user views commit pipelines page' do
- visit pipelines_namespace_project_commit_path(project.namespace, project, project.commit.sha)
+ scenario 'user views commit builds page' do
+ visit builds_namespace_project_commit_path(project.namespace,
+ project, project.commit.sha)
- page.within('.table-holder') do
- expect(page).to have_content project.pipelines[0].status # pipeline status
- expect(page).to have_content project.pipelines[0].id # pipeline ids
- end
+ expect(page).to have_content('Builds')
end
end
end