From 7a2a9bb45e681fdcd707fdbe3fbcc3ce2e17663c Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Fri, 30 Dec 2016 18:14:33 -0600 Subject: replace Teaspoon fixture methods with jasmine-jquery methods to reduce dependency on Teaspoon --- spec/javascripts/syntax_highlight_spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/javascripts/syntax_highlight_spec.js') diff --git a/spec/javascripts/syntax_highlight_spec.js b/spec/javascripts/syntax_highlight_spec.js index ac411f6c306..5984ce8ffd4 100644 --- a/spec/javascripts/syntax_highlight_spec.js +++ b/spec/javascripts/syntax_highlight_spec.js @@ -13,7 +13,7 @@ }; describe('on a js-syntax-highlight element', function() { beforeEach(function() { - return fixture.set('
'); + return setFixtures('
'); }); return it('applies syntax highlighting', function() { stubUserColorScheme('monokai'); @@ -23,7 +23,7 @@ }); return describe('on a parent element', function() { beforeEach(function() { - return fixture.set("
\n
\n
\n
\n
"); + return setFixtures("
\n
\n
\n
\n
"); }); it('applies highlighting to all applicable children', function() { stubUserColorScheme('monokai'); @@ -33,7 +33,7 @@ }); return it('prevents an infinite loop when no matches exist', function() { var highlight; - fixture.set('
'); + setFixtures('
'); highlight = function() { return $('div').syntaxHighlight(); }; -- cgit v1.2.3