Commit fff2b4f6 authored by Phil Hughes's avatar Phil Hughes

fixed spec

parent 23a7c389
...@@ -348,6 +348,7 @@ describe('RepoEditor', () => { ...@@ -348,6 +348,7 @@ describe('RepoEditor', () => {
}); });
it('calls removePendingTab when old file is pending', done => { it('calls removePendingTab when old file is pending', done => {
spyOnProperty(vm, 'shouldHideEditor').and.returnValue(true);
spyOn(vm, 'removePendingTab'); spyOn(vm, 'removePendingTab');
vm.file.pending = true; vm.file.pending = true;
......
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