diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-12-31 03:14:33 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-05 23:11:07 +0300 |
commit | 7a2a9bb45e681fdcd707fdbe3fbcc3ce2e17663c (patch) | |
tree | 94981286ccd9cf5ba26684288994e3a50dd21866 /spec/javascripts/new_branch_spec.js | |
parent | 10d483eaaaccc336399fa83a0ac5f7ecd9cea352 (diff) |
replace Teaspoon fixture methods with jasmine-jquery methods to reduce dependency on Teaspoon
Diffstat (limited to 'spec/javascripts/new_branch_spec.js')
-rw-r--r-- | spec/javascripts/new_branch_spec.js | 4 |
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(); }); |