From c8bd9fd6ccd4aa273130960e9ac1609cd3668640 Mon Sep 17 00:00:00 2001 From: bergquist Date: Tue, 12 Jan 2016 13:42:27 +0100 Subject: [PATCH] style(playlist): renames variable --- .../app/features/playlist/specs/playlist-edit-ctrl-specs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/playlist/specs/playlist-edit-ctrl-specs.ts b/public/app/features/playlist/specs/playlist-edit-ctrl-specs.ts index 6d4db720fde..e0ffdd49893 100644 --- a/public/app/features/playlist/specs/playlist-edit-ctrl-specs.ts +++ b/public/app/features/playlist/specs/playlist-edit-ctrl-specs.ts @@ -5,7 +5,7 @@ import helpers from 'test/specs/helpers'; describe('PlaylistEditCtrl', function() { var ctx = new helpers.ControllerTestContext(); - var dashboards = [ + var searchResult = [ { id: 2, title: 'dashboard: 2' @@ -19,7 +19,7 @@ describe('PlaylistEditCtrl', function() { var playlistSrv = {}; var backendSrv = { search: (query) => { - return ctx.$q.when(dashboards); + return ctx.$q.when(searchResult); } };