diff options
| author | Neil Johnston | 2014-03-15 10:55:02 -0700 |
|---|---|---|
| committer | Vojta Jina | 2014-03-21 11:42:17 -0700 |
| commit | c7e60153a51ea424397fe06102c06e7c3849da56 (patch) | |
| tree | 1653a0e613ef4f72b9a072633c15487ef031c250 | |
| parent | c0416866f597e489c6c332f3f53dd15d515baf31 (diff) | |
| download | angular.js-c7e60153a51ea424397fe06102c06e7c3849da56.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.
| -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> |
