BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c225007a
Commit
c225007a
authored
May 18, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added back a removed test
[ci skip]
parent
b8647134
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
app_spec.js
spec/javascripts/issue_show/components/app_spec.js
+17
-1
No files found.
spec/javascripts/issue_show/components/app_spec.js
View file @
c225007a
...
...
@@ -14,7 +14,7 @@ const issueShowInterceptor = data => (request, next) => {
}));
};
f
describe
(
'Issuable output'
,
()
=>
{
describe
(
'Issuable output'
,
()
=>
{
document
.
body
.
innerHTML
=
'<span id="task_status"></span>'
;
let
vm
;
...
...
@@ -92,6 +92,22 @@ fdescribe('Issuable output', () => {
});
});
it
(
'does not update formState if form is already open'
,
(
done
)
=>
{
vm
.
openForm
();
vm
.
state
.
titleText
=
'testing 123'
;
vm
.
openForm
();
Vue
.
nextTick
(()
=>
{
expect
(
vm
.
store
.
formState
.
title
,
).
not
.
toBe
(
'testing 123'
);
done
();
});
});
describe
(
'updateIssuable'
,
()
=>
{
it
(
'reloads the page if the confidential status has changed'
,
(
done
)
=>
{
spyOn
(
gl
.
utils
,
'visitUrl'
);
...
...
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