Commit 38ae3d0c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Fix tests

parent d6a92bad
......@@ -5,4 +5,4 @@
.help-block
Set the maximum number of build minutes that a group can use on shared Runners per month.
0 for unlimited.
= link_to con('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-build-minutes-quota"), target: '_blank'
= link_to icon('question-circle'), help_page_path("user/admin_area/settings/continuous_integration", anchor: "shared-runners-build-minutes-quota"), target: '_blank'
......@@ -3,7 +3,7 @@
- quota_limit = project.namespace.actual_shared_runners_minutes_limit
.bs-callout.bs-callout-warning
%p
You have used all your shared Runner minutes
You have used all your shared Runners build minutes.
= "(#{quota_used} of #{quota_limit})."
- if can?(current_user, :admin_build, @project)
%br
......
......@@ -272,7 +272,7 @@ feature 'Builds', :feature do
it 'displays a warning message' do
visit namespace_project_build_path(project.namespace, project, build)
expect(page).to have_content('You have used all your shared runner minutes')
expect(page).to have_content('You have used all your shared Runners build minutes.')
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment