summaryrefslogtreecommitdiff
path: root/spec/javascripts/new_branch_spec.js
diff options
context:
space:
mode:
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 ba2c6f419e9..e0dc549a9f4 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('static/new_branch.html.raw');
+ preloadFixtures('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('static/new_branch.html.raw');
+ loadFixtures('static/new_branch.html.raw');
$('form').on('submit', function(e) {
return e.preventDefault();
});