diff options
Diffstat (limited to 'spec/javascripts/notebook/index_spec.js')
-rw-r--r-- | spec/javascripts/notebook/index_spec.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/javascripts/notebook/index_spec.js b/spec/javascripts/notebook/index_spec.js index 87f18b98342..bd63ab35426 100644 --- a/spec/javascripts/notebook/index_spec.js +++ b/spec/javascripts/notebook/index_spec.js @@ -1,12 +1,17 @@ import Vue from 'vue'; import Notebook from '~/notebook/index.vue'; -import json from '../fixtures/notebook/file.json'; -import jsonWithWorksheet from '../fixtures/notebook/worksheets.json'; const Component = Vue.extend(Notebook); describe('Notebook component', () => { let vm; + let json; + let jsonWithWorksheet; + + beforeEach(() => { + json = getJSONFixture('blob/notebook/basic.json'); + jsonWithWorksheet = getJSONFixture('blob/notebook/worksheets.json'); + }); describe('without JSON', () => { beforeEach((done) => { |