aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRoland2013-07-24 15:52:39 +0200
committerPete Bacon Darwin2013-07-27 15:52:20 +0100
commitf5b8092a1c74f81a52fd0a6b008de10b3d813204 (patch)
tree2ecba33bf304ea5290a3e0ce517d8d32e7b5742e /docs
parentb322cbf3351387b7a506ae4c5a7bcb6b007f9bae (diff)
downloadangular.js-f5b8092a1c74f81a52fd0a6b008de10b3d813204.tar.bz2
docs(tutorial): add that the test also creates a controller
Diffstat (limited to 'docs')
-rw-r--r--docs/content/tutorial/step_02.ngdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/tutorial/step_02.ngdoc b/docs/content/tutorial/step_02.ngdoc
index a2d94dd4..c2eec340 100644
--- a/docs/content/tutorial/step_02.ngdoc
+++ b/docs/content/tutorial/step_02.ngdoc
@@ -134,10 +134,10 @@ describe('PhoneCat controllers', function() {
});
</pre>
-The test verifies that we have three records in the phones array and the example demonstrates how
-easy it is to create a unit test for code in Angular. Since testing is such a critical part of
-software development, we make it easy to create tests in Angular so that developers are encouraged
-to write them.
+The test instantiates our PhoneListCtrl and verifies that its phones array property contains three
+records. This example demonstrates how easy it is to create a unit test for code in Angular. Since
+testing is such a critical part of software development, we make it easy to create tests in Angular
+so that developers are encouraged to write them.
Angular developers prefer the syntax of Jasmine's Behavior-driven Development (BDD) framework when
writing tests. Although Angular does not require you to use Jasmine, we wrote all of the tests in