summaryrefslogtreecommitdiff
path: root/spec/frontend/jobs/store/getters_spec.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-17 12:08:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-17 12:08:06 +0000
commitf0a387b4a5f08d6739894455664b4d3cb1509cc6 (patch)
tree3c5b144fbb894189dfb9a61e47c53c54af4415f4 /spec/frontend/jobs/store/getters_spec.js
parent91c2554bcf93c3c41aa830da4dd7a2d4b7483e2d (diff)
downloadgitlab-ce-f0a387b4a5f08d6739894455664b4d3cb1509cc6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/jobs/store/getters_spec.js')
-rw-r--r--spec/frontend/jobs/store/getters_spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/frontend/jobs/store/getters_spec.js b/spec/frontend/jobs/store/getters_spec.js
index 7a0fe2b8202..c13b051c672 100644
--- a/spec/frontend/jobs/store/getters_spec.js
+++ b/spec/frontend/jobs/store/getters_spec.js
@@ -208,7 +208,7 @@ describe('Job Store Getters', () => {
});
});
- describe('hasRunnersForProject', () => {
+ describe('hasOfflineRunnersForProject', () => {
describe('with available and offline runners', () => {
it('returns true', () => {
localState.job.runners = {
@@ -216,7 +216,7 @@ describe('Job Store Getters', () => {
online: false,
};
- expect(getters.hasRunnersForProject(localState)).toEqual(true);
+ expect(getters.hasOfflineRunnersForProject(localState)).toEqual(true);
});
});
@@ -227,7 +227,7 @@ describe('Job Store Getters', () => {
online: false,
};
- expect(getters.hasRunnersForProject(localState)).toEqual(false);
+ expect(getters.hasOfflineRunnersForProject(localState)).toEqual(false);
});
});
@@ -238,7 +238,7 @@ describe('Job Store Getters', () => {
online: true,
};
- expect(getters.hasRunnersForProject(localState)).toEqual(false);
+ expect(getters.hasOfflineRunnersForProject(localState)).toEqual(false);
});
});
});