mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Changed name of dashboard service to dashboardSrv
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
define([
|
||||
'services/dashboard/dashboardModel'
|
||||
'services/dashboard/dashboardSrv'
|
||||
], function() {
|
||||
'use strict';
|
||||
|
||||
@@ -8,8 +8,8 @@ define([
|
||||
|
||||
beforeEach(module('grafana.services'));
|
||||
|
||||
beforeEach(inject(function(dashboard) {
|
||||
model = dashboard.create({});
|
||||
beforeEach(inject(function(dashboardSrv) {
|
||||
model = dashboardSrv.create({});
|
||||
}));
|
||||
|
||||
it('should have title', function() {
|
||||
@@ -30,8 +30,8 @@ define([
|
||||
|
||||
beforeEach(module('grafana.services'));
|
||||
|
||||
beforeEach(inject(function(dashboard) {
|
||||
model = dashboard.create({
|
||||
beforeEach(inject(function(dashboardSrv) {
|
||||
model = dashboardSrv.create({
|
||||
services: { filter: { time: { from: 'now-1d', to: 'now'}, list: [1] }},
|
||||
rows: [
|
||||
{
|
||||
@@ -121,7 +121,7 @@ require([
|
||||
'specs/graph-ctrl-specs',
|
||||
'specs/filterSrv-specs',
|
||||
'specs/kbn-format-specs',
|
||||
'specs/dashboardModel-specs',
|
||||
'specs/dashboardSrv-specs',
|
||||
'specs/influxSeries-specs'
|
||||
], function () {
|
||||
window.__karma__.start();
|
||||
|
||||
Reference in New Issue
Block a user