aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSeth Stone2014-01-11 11:33:22 -0600
committerIgor Minar2014-01-11 14:09:52 -0800
commitc3ab915d2ef8606c298cb4ae2f5cc8a30d3b250a (patch)
tree5fa7358ae79e72b1205712b57c6fcce2de86d0e7 /docs
parentf4a4f42abb29ca0ab2d6dc427599db09eb4d54bb (diff)
downloadangular.js-c3ab915d2ef8606c298cb4ae2f5cc8a30d3b250a.tar.bz2
docs(tutorial): add missing beforeEach(module()) to test
Test snippet was missing this necessary statement that was present in the sample code. Closes #5743
Diffstat (limited to 'docs')
-rw-r--r--docs/content/tutorial/step_05.ngdoc3
1 files changed, 3 insertions, 0 deletions
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.