aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland2013-07-24 15:52:39 +0200
committerPete Bacon Darwin2013-07-27 15:53:35 +0100
commitbba2b7cfcedc7b89d3dd944f28a63126bf20326b (patch)
treea12bc0c5f8a46ed201fc71ace71ae0e27b7dd05b
parentdc1e55ce1a314b6c1ad4b9d5b4a31226e1fa1e18 (diff)
downloadangular.js-bba2b7cfcedc7b89d3dd944f28a63126bf20326b.tar.bz2
docs(tutorial): add that the test also creates a controller
-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