Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-30 00:08:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-30 00:08:46 +0300
commit4f1b5d2757835a204a7b882e2bea32dd8c9dfa6b (patch)
tree0617ad58ec0f7e8fcbc02bae09976299f9d0a24e /spec/frontend
parent1bbd0179d7ed8fb17c0574aa74ef491e53c833a7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend')
-rw-r--r--spec/frontend/vue_shared/components/runner_instructions/instructions/runner_docker_instructions_spec.js5
-rw-r--r--spec/frontend/vue_shared/components/runner_instructions/instructions/runner_kubernetes_instructions_spec.js5
2 files changed, 4 insertions, 6 deletions
diff --git a/spec/frontend/vue_shared/components/runner_instructions/instructions/runner_docker_instructions_spec.js b/spec/frontend/vue_shared/components/runner_instructions/instructions/runner_docker_instructions_spec.js
index 94823bb640b..b94d8c1de21 100644
--- a/spec/frontend/vue_shared/components/runner_instructions/instructions/runner_docker_instructions_spec.js
+++ b/spec/frontend/vue_shared/components/runner_instructions/instructions/runner_docker_instructions_spec.js
@@ -2,6 +2,7 @@ import { shallowMount } from '@vue/test-utils';
import { GlButton } from '@gitlab/ui';
import RunnerDockerInstructions from '~/vue_shared/components/runner_instructions/instructions/runner_docker_instructions.vue';
+import { DOCS_URL } from 'jh_else_ce/lib/utils/url_utility';
describe('RunnerDockerInstructions', () => {
let wrapper;
@@ -25,8 +26,6 @@ describe('RunnerDockerInstructions', () => {
});
it('renders link', () => {
- expect(findButton().attributes('href')).toBe(
- 'https://docs.gitlab.com/runner/install/docker.html',
- );
+ expect(findButton().attributes('href')).toBe(`${DOCS_URL}/runner/install/docker.html`);
});
});
diff --git a/spec/frontend/vue_shared/components/runner_instructions/instructions/runner_kubernetes_instructions_spec.js b/spec/frontend/vue_shared/components/runner_instructions/instructions/runner_kubernetes_instructions_spec.js
index 9d6658e002c..f0b033a2ca2 100644
--- a/spec/frontend/vue_shared/components/runner_instructions/instructions/runner_kubernetes_instructions_spec.js
+++ b/spec/frontend/vue_shared/components/runner_instructions/instructions/runner_kubernetes_instructions_spec.js
@@ -2,6 +2,7 @@ import { shallowMount } from '@vue/test-utils';
import { GlButton } from '@gitlab/ui';
import RunnerKubernetesInstructions from '~/vue_shared/components/runner_instructions/instructions/runner_kubernetes_instructions.vue';
+import { DOCS_URL } from 'jh_else_ce/lib/utils/url_utility';
describe('RunnerKubernetesInstructions', () => {
let wrapper;
@@ -25,8 +26,6 @@ describe('RunnerKubernetesInstructions', () => {
});
it('renders link', () => {
- expect(findButton().attributes('href')).toBe(
- 'https://docs.gitlab.com/runner/install/kubernetes.html',
- );
+ expect(findButton().attributes('href')).toBe(`${DOCS_URL}/runner/install/kubernetes.html`);
});
});