From e118a8be341a1e7d354ac36ddc04842f11a63e00 Mon Sep 17 00:00:00 2001 From: Neil Johnston Date: Sat, 15 Mar 2014 10:55:02 -0700 Subject: docs(tutorial/step_02): add experiment to update controller test Add an experiment to update the controller unit test after modifying it with the new model property. --- docs/content/tutorial/step_02.ngdoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/tutorial/step_02.ngdoc b/docs/content/tutorial/step_02.ngdoc index 83512e9f..56ec2dd2 100644 --- a/docs/content/tutorial/step_02.ngdoc +++ b/docs/content/tutorial/step_02.ngdoc @@ -226,6 +226,10 @@ To run the test, do the following: Refresh your browser and verify that it says "Hello, World!". +* Update the unit test for the controler in ./tests/unit/controlersSpec.js to refelct the previous change. For example by adding: + + expect(scope.name).toBe('World'); + * Create a repeater that constructs a simple table: