summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-06-14 07:35:27 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-06-14 07:35:27 +0000
commitda66c90b0f154452d7fe7ea9a6d296466cb7f223 (patch)
treef85deab1b2ad3ab59929193b80d2e343228cc0ab /spec/features
parent0037cf634dbcc8045fba9cbc28133cfde07dc97c (diff)
parent25b99a5b3beecb7251fef9097c44afd1f82f9f57 (diff)
downloadgitlab-ce-da66c90b0f154452d7fe7ea9a6d296466cb7f223.tar.gz
Merge branch 'fix-external-ci-services' into 'master'
Allow to access statuses for external CI services Closes #30714, #29369, and #15220 See merge request !11176
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/features_visibility_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/features/projects/features_visibility_spec.rb b/spec/features/projects/features_visibility_spec.rb
index c49648f54bd..d76b5e4ef1b 100644
--- a/spec/features/projects/features_visibility_spec.rb
+++ b/spec/features/projects/features_visibility_spec.rb
@@ -68,9 +68,12 @@ describe 'Edit Project Settings', feature: true do
end
describe 'project features visibility pages' do
+ let(:pipeline) { create(:ci_empty_pipeline, project: project) }
+ let(:job) { create(:ci_build, pipeline: pipeline) }
+
let(:tools) do
{
- builds: namespace_project_pipelines_path(project.namespace, project),
+ builds: namespace_project_job_path(project.namespace, project, job),
issues: namespace_project_issues_path(project.namespace, project),
wiki: namespace_project_wiki_path(project.namespace, project, :home),
snippets: namespace_project_snippets_path(project.namespace, project),