From f5b8092a1c74f81a52fd0a6b008de10b3d813204 Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 24 Jul 2013 15:52:39 +0200 Subject: docs(tutorial): add that the test also creates a controller --- docs/content/tutorial/step_02.ngdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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() { }); -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 -- cgit v1.2.3