diff options
author | André Luís <aluis@gitlab.com> | 2018-05-24 03:39:22 +0300 |
---|---|---|
committer | André Luís <aluis@gitlab.com> | 2018-05-24 19:39:14 +0300 |
commit | d3d7a916b0d4e9984254954393f2749283b7b70f (patch) | |
tree | 79c0f16cbee89bd3f2f8b50d04bbb64494a2e340 | |
parent | 1bc72f668c4979d6f812f8b82b95ae9239c284ab (diff) |
Tweak spec to try to fix contamination to other tests
-rw-r--r-- | spec/javascripts/ide/stores/actions/project_spec.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/javascripts/ide/stores/actions/project_spec.js b/spec/javascripts/ide/stores/actions/project_spec.js index 41fa2f01576..9c9dd4ae660 100644 --- a/spec/javascripts/ide/stores/actions/project_spec.js +++ b/spec/javascripts/ide/stores/actions/project_spec.js @@ -112,8 +112,6 @@ describe('IDE store project actions', () => { mock .onGet('/abc/def/commit/abc123def456ghi789jkl/pipelines') .reply(200, { data: { foo: 'bar' } }, { 'poll-interval': '10000' }); - - spyOn(axios, 'get').and.callThrough(); }); afterEach(() => { @@ -122,6 +120,7 @@ describe('IDE store project actions', () => { }); it('calls service with last fetched state', done => { + spyOn(axios, 'get').and.callThrough(); spyOn(Visibility, 'hidden').and.returnValue(false); store |