summaryrefslogtreecommitdiff
path: root/spec/views/ci/status/_badge.html.haml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/ci/status/_badge.html.haml_spec.rb')
-rw-r--r--spec/views/ci/status/_badge.html.haml_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/views/ci/status/_badge.html.haml_spec.rb b/spec/views/ci/status/_badge.html.haml_spec.rb
index 72323da2838..6a4738ba443 100644
--- a/spec/views/ci/status/_badge.html.haml_spec.rb
+++ b/spec/views/ci/status/_badge.html.haml_spec.rb
@@ -16,8 +16,7 @@ describe 'ci/status/_badge', :view do
end
it 'has link to build details page' do
- details_path = namespace_project_job_path(
- project.namespace, project, build)
+ details_path = project_job_path(project, build)
render_status(build)