summaryrefslogtreecommitdiff
path: root/spec/javascripts/new_branch_spec.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-30 15:27:40 -0600
committerMike Greiling <mike@pixelcog.com>2017-01-03 10:56:39 -0600
commit5f192c77e09a9af19268e5c5cf860ffd8c0c6216 (patch)
treeb899c45791919204529f704d44cd527a62b1c1cd /spec/javascripts/new_branch_spec.js
parent6370e326995ccb1c1c816b007c63f10d0c7cda25 (diff)
downloadgitlab-ce-5f192c77e09a9af19268e5c5cf860ffd8c0c6216.tar.gz
update all frontend tests to point to precompiled fixtures
Diffstat (limited to 'spec/javascripts/new_branch_spec.js')
-rw-r--r--spec/javascripts/new_branch_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/new_branch_spec.js b/spec/javascripts/new_branch_spec.js
index a6cb9e47744..ba2c6f419e9 100644
--- a/spec/javascripts/new_branch_spec.js
+++ b/spec/javascripts/new_branch_spec.js
@@ -8,7 +8,7 @@
describe('Branch', function() {
return describe('create a new branch', function() {
var expectToHaveError, fillNameWith;
- fixture.preload('new_branch.html');
+ fixture.preload('static/new_branch.html.raw');
fillNameWith = function(value) {
return $('.js-branch-name').val(value).trigger('blur');
};
@@ -16,7 +16,7 @@
return expect($('.js-branch-name-error span').text()).toEqual(error);
};
beforeEach(function() {
- fixture.load('new_branch.html');
+ fixture.load('static/new_branch.html.raw');
$('form').on('submit', function(e) {
return e.preventDefault();
});