Skip to content
Snippets Groups Projects
Commit c225007a authored by Phil Hughes's avatar Phil Hughes
Browse files

Added back a removed test

[ci skip]
parent b8647134
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -14,7 +14,7 @@ const issueShowInterceptor = data => (request, next) => {
}));
};
 
fdescribe('Issuable output', () => {
describe('Issuable output', () => {
document.body.innerHTML = '<span id="task_status"></span>';
 
let vm;
Loading
Loading
@@ -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');
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment