[Build] Fix failing test

Acquire reference to moment as an argument instead of
assuming global availability; this appears to be no longer
be present globally after build changes
This commit is contained in:
Victor Woeltjen 2016-01-29 10:33:40 -08:00
parent e564baba1a
commit 38e703a121
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
define(
["moment"],
function () {
function (moment) {
"use strict";
var DATE_FORMAT = "YYYY-MM-DD";

View File

@ -26,7 +26,7 @@ define(
function (DateTimeController) {
"use strict";
describe("The date-time directive", function () {
describe("The date-time controller", function () {
var mockScope,
controller;