From c3ab915d2ef8606c298cb4ae2f5cc8a30d3b250a Mon Sep 17 00:00:00 2001 From: Seth Stone Date: Sat, 11 Jan 2014 11:33:22 -0600 Subject: docs(tutorial): add missing beforeEach(module()) to test Test snippet was missing this necessary statement that was present in the sample code. Closes #5743 --- docs/content/tutorial/step_05.ngdoc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/content/tutorial/step_05.ngdoc') diff --git a/docs/content/tutorial/step_05.ngdoc b/docs/content/tutorial/step_05.ngdoc index 9ce46234..ae7fd8fe 100644 --- a/docs/content/tutorial/step_05.ngdoc +++ b/docs/content/tutorial/step_05.ngdoc @@ -170,6 +170,9 @@ describe('PhoneCat controllers', function() { describe('PhoneListCtrl', function(){ var scope, ctrl, $httpBackend; + // Load our app module definition before each test. + 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. -- cgit v1.2.3