diff options
| author | Neil Johnston | 2014-03-15 10:55:02 -0700 |
|---|---|---|
| committer | Brian Ford | 2014-03-17 14:38:51 -0700 |
| commit | e118a8be341a1e7d354ac36ddc04842f11a63e00 (patch) | |
| tree | 660fddd70bdd7fdf8f399e484c32b4e8aca558e4 /docs | |
| parent | 9202767f415c86b837b6e4c97f8e99316ebcfc7d (diff) | |
| download | angular.js-e118a8be341a1e7d354ac36ddc04842f11a63e00.tar.bz2 | |
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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/content/tutorial/step_02.ngdoc | 4 |
1 files changed, 4 insertions, 0 deletions
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: <table> |
