From 150fc76651fef1bb08a563937b62da6b2a94c162 Mon Sep 17 00:00:00 2001 From: Seth Stone Date: Sat, 11 Jan 2014 11:33:22 -0600 Subject: [PATCH] Added missing beforeEach(module()) to test Test snippet was missing this necessary statement that was present in the sample code. --- docs/content/tutorial/step_05.ngdoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/tutorial/step_05.ngdoc b/docs/content/tutorial/step_05.ngdoc index 9ce462346bbc..e84fc815839c 100644 --- a/docs/content/tutorial/step_05.ngdoc +++ b/docs/content/tutorial/step_05.ngdoc @@ -170,6 +170,7 @@ describe('PhoneCat controllers', function() { describe('PhoneListCtrl', function(){ var scope, ctrl, $httpBackend; + beforeEach(module('phonecatApp')); // The injector ignores leading and trailing underscores here (i.e. _$httpBackend_). // This allows us to inject a service but then attach it to a variable // with the same name as the service.