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>2022-05-24 18:08:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-24 18:08:28 +0300
commit8e1bb8745bafe36f273ce4a095c3576c38ceb8b4 (patch)
treeec27d8dc078480009afe783f7bea87d3927f28f1 /spec/frontend/integrations
parent4b4c254b2cfaca26c2c8e2bda70d45c13e3a6f97 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/integrations')
-rw-r--r--spec/frontend/integrations/edit/components/jira_issues_fields_spec.js1
-rw-r--r--spec/frontend/integrations/edit/components/jira_upgrade_cta_spec.js31
2 files changed, 0 insertions, 32 deletions
diff --git a/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js b/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js
index b4c5d4f9957..fa91f8de45a 100644
--- a/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js
+++ b/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js
@@ -11,7 +11,6 @@ describe('JiraIssuesFields', () => {
const defaultProps = {
showJiraVulnerabilitiesIntegration: true,
- upgradePlanPath: 'https://gitlab.com',
};
const createComponent = ({
diff --git a/spec/frontend/integrations/edit/components/jira_upgrade_cta_spec.js b/spec/frontend/integrations/edit/components/jira_upgrade_cta_spec.js
deleted file mode 100644
index e90e9a5d2ac..00000000000
--- a/spec/frontend/integrations/edit/components/jira_upgrade_cta_spec.js
+++ /dev/null
@@ -1,31 +0,0 @@
-import { shallowMount } from '@vue/test-utils';
-
-import JiraUpgradeCta from '~/integrations/edit/components/jira_upgrade_cta.vue';
-
-describe('JiraUpgradeCta', () => {
- let wrapper;
-
- const contentMessage = 'Upgrade your plan to enable this feature of the Jira Integration.';
-
- const createComponent = (propsData) => {
- wrapper = shallowMount(JiraUpgradeCta, {
- propsData,
- });
- };
-
- afterEach(() => {
- wrapper.destroy();
- });
-
- it('displays the correct message for premium and lower users', () => {
- createComponent({ showPremiumMessage: true });
- expect(wrapper.text()).toContain('This is a Premium feature');
- expect(wrapper.text()).toContain(contentMessage);
- });
-
- it('displays the correct message for ultimate and lower users', () => {
- createComponent({ showUltimateMessage: true });
- expect(wrapper.text()).toContain('This is an Ultimate feature');
- expect(wrapper.text()).toContain(contentMessage);
- });
-});