Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f51f7c51
Commit
f51f7c51
authored
Nov 11, 2019
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make EE environments dashboards specs compatible w/ BootstrapVue 2
parent
da75cddb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
ee/spec/frontend/environments_dashboard/components/environment_header_spec.js
...ironments_dashboard/components/environment_header_spec.js
+8
-0
ee/spec/frontend/environments_dashboard/components/environment_spec.js
...end/environments_dashboard/components/environment_spec.js
+6
-0
ee/spec/frontend/environments_dashboard/components/project_header_spec.js
.../environments_dashboard/components/project_header_spec.js
+2
-0
No files found.
ee/spec/frontend/environments_dashboard/components/environment_header_spec.js
View file @
f51f7c51
...
...
@@ -28,6 +28,8 @@ describe('Environment Header', () => {
describe
(
'
renders name and link to app
'
,
()
=>
{
beforeEach
(()
=>
{
wrapper
=
shallowMount
(
Component
,
{
sync
:
false
,
attachToDocument
:
true
,
propsData
,
localVue
,
});
...
...
@@ -63,6 +65,8 @@ describe('Environment Header', () => {
propsData
.
environment
.
name
=
'
review/testing
'
;
wrapper
=
shallowMount
(
Component
,
{
sync
:
false
,
attachToDocument
:
true
,
propsData
,
localVue
,
});
...
...
@@ -90,6 +94,8 @@ describe('Environment Header', () => {
propsData
.
hasErrors
=
true
;
wrapper
=
shallowMount
(
Component
,
{
sync
:
false
,
attachToDocument
:
true
,
propsData
,
localVue
,
});
...
...
@@ -105,6 +111,8 @@ describe('Environment Header', () => {
propsData
.
hasPipelineFailed
=
true
;
wrapper
=
shallowMount
(
Component
,
{
sync
:
false
,
attachToDocument
:
true
,
propsData
,
localVue
,
});
...
...
ee/spec/frontend/environments_dashboard/components/environment_spec.js
View file @
f51f7c51
...
...
@@ -17,6 +17,8 @@ describe('Environment', () => {
environment
,
};
wrapper
=
shallowMount
(
Component
,
{
sync
:
false
,
attachToDocument
:
true
,
localVue
,
propsData
,
});
...
...
@@ -94,6 +96,8 @@ describe('Environment', () => {
},
};
wrapper
=
shallowMount
(
Component
,
{
sync
:
false
,
attachToDocument
:
true
,
localVue
,
propsData
,
});
...
...
@@ -112,6 +116,8 @@ describe('Environment', () => {
},
};
wrapper
=
shallowMount
(
Component
,
{
sync
:
false
,
attachToDocument
:
true
,
localVue
,
propsData
,
});
...
...
ee/spec/frontend/environments_dashboard/components/project_header_spec.js
View file @
f51f7c51
...
...
@@ -25,6 +25,8 @@ describe('Project Header', () => {
beforeEach
(()
=>
{
wrapper
=
shallowMount
(
Component
,
{
sync
:
false
,
attachToDocument
:
true
,
propsData
,
localVue
,
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment