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
0c3911df
Commit
0c3911df
authored
Nov 20, 2019
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make feature flags specs compatible w/ BootstrapVue 2
parent
7cf959d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ee/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js
...re_flags/components/configure_feature_flags_modal_spec.js
+5
-1
No files found.
ee/spec/frontend/feature_flags/components/configure_feature_flags_modal_spec.js
View file @
0c3911df
...
@@ -24,6 +24,8 @@ describe('Configure Feature Flags Modal', () => {
...
@@ -24,6 +24,8 @@ describe('Configure Feature Flags Modal', () => {
wrapper
=
shallowMount
(
Component
,
{
wrapper
=
shallowMount
(
Component
,
{
propsData
,
propsData
,
localVue
,
localVue
,
sync
:
false
,
attachToDocument
:
true
,
});
});
});
});
...
@@ -41,7 +43,9 @@ describe('Configure Feature Flags Modal', () => {
...
@@ -41,7 +43,9 @@ describe('Configure Feature Flags Modal', () => {
it
(
'
should be hidden if the user cannot rotate tokens
'
,
()
=>
{
it
(
'
should be hidden if the user cannot rotate tokens
'
,
()
=>
{
wrapper
.
setProps
({
canUserRotateToken
:
false
});
wrapper
.
setProps
({
canUserRotateToken
:
false
});
expect
(
wrapper
.
find
(
'
.js-ff-rotate-token-button
'
).
exists
()).
toBe
(
false
);
return
wrapper
.
vm
.
$nextTick
(()
=>
{
expect
(
wrapper
.
find
(
'
.js-ff-rotate-token-button
'
).
exists
()).
toBe
(
false
);
});
});
});
});
});
...
...
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