diff options
Diffstat (limited to 'spec/frontend/behaviors/requires_input_spec.js')
-rw-r--r-- | spec/frontend/behaviors/requires_input_spec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/frontend/behaviors/requires_input_spec.js b/spec/frontend/behaviors/requires_input_spec.js index f2f68f17d1c..68fa980216a 100644 --- a/spec/frontend/behaviors/requires_input_spec.js +++ b/spec/frontend/behaviors/requires_input_spec.js @@ -1,12 +1,13 @@ import $ from 'jquery'; -import { loadHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; +import htmlNewBranch from 'test_fixtures/branches/new_branch.html'; +import { setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures'; import '~/behaviors/requires_input'; describe('requiresInput', () => { let submitButton; beforeEach(() => { - loadHTMLFixture('branches/new_branch.html'); + setHTMLFixture(htmlNewBranch); submitButton = $('button[type="submit"]'); }); |