Commit c225007a authored by Phil Hughes's avatar Phil Hughes

Added back a removed test

[ci skip]
parent b8647134
......@@ -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;
......@@ -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');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment