From 7a8af42923dbcfc6bfae09d7c67dad8fa7f5f83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lu=C3=ADs?= Date: Thu, 3 May 2018 08:30:44 +0000 Subject: Improve Web IDE Commit Panel --- spec/javascripts/ide/stores/actions/file_spec.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'spec/javascripts/ide/stores/actions/file_spec.js') diff --git a/spec/javascripts/ide/stores/actions/file_spec.js b/spec/javascripts/ide/stores/actions/file_spec.js index ce5c525bed7..3ee11bd2f03 100644 --- a/spec/javascripts/ide/stores/actions/file_spec.js +++ b/spec/javascripts/ide/stores/actions/file_spec.js @@ -398,6 +398,20 @@ describe('IDE store file actions', () => { }) .catch(done.fail); }); + + it('bursts unused seal', done => { + store + .dispatch('changeFileContent', { + path: tmpFile.path, + content: 'content', + }) + .then(() => { + expect(store.state.unusedSeal).toBe(false); + + done(); + }) + .catch(done.fail); + }); }); describe('discardFileChanges', () => { -- cgit v1.2.3