From 5f192c77e09a9af19268e5c5cf860ffd8c0c6216 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Fri, 30 Dec 2016 15:27:40 -0600 Subject: update all frontend tests to point to precompiled fixtures --- spec/javascripts/issue_spec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'spec/javascripts/issue_spec.js') diff --git a/spec/javascripts/issue_spec.js b/spec/javascripts/issue_spec.js index faab5ae00c2..421936a4786 100644 --- a/spec/javascripts/issue_spec.js +++ b/spec/javascripts/issue_spec.js @@ -8,9 +8,9 @@ var INVALID_URL = 'http://goesnowhere.nothing/whereami'; var $boxClosed, $boxOpen, $btnClose, $btnReopen; - fixture.preload('issues/closed-issue.html'); - fixture.preload('issues/issue-with-task-list.html'); - fixture.preload('issues/open-issue.html'); + fixture.preload('issues/closed-issue.html.raw'); + fixture.preload('issues/issue-with-task-list.html.raw'); + fixture.preload('issues/open-issue.html.raw'); function expectErrorMessage() { var $flashMessage = $('div.flash-alert'); @@ -61,7 +61,7 @@ describe('Issue', function() { describe('task lists', function() { - fixture.load('issues/issue-with-task-list.html'); + fixture.load('issues/issue-with-task-list.html.raw'); beforeEach(function() { this.issue = new Issue(); }); @@ -86,7 +86,7 @@ describe('close issue', function() { beforeEach(function() { - fixture.load('issues/open-issue.html'); + fixture.load('issues/open-issue.html.raw'); findElements(); this.issue = new Issue(); @@ -140,7 +140,7 @@ describe('reopen issue', function() { beforeEach(function() { - fixture.load('issues/closed-issue.html'); + fixture.load('issues/closed-issue.html.raw'); findElements(); this.issue = new Issue(); -- cgit v1.2.1