Skip to content

Commit f5b8092

Browse files
Rolandpetebacondarwin
Roland
authored andcommitted
docs(tutorial): add that the test also creates a controller
1 parent b322cbf commit f5b8092

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/tutorial/step_02.ngdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ describe('PhoneCat controllers', function() {
134134
});
135135
</pre>
136136

137-
The test verifies that we have three records in the phones array and the example demonstrates how
138-
easy it is to create a unit test for code in Angular. Since testing is such a critical part of
139-
software development, we make it easy to create tests in Angular so that developers are encouraged
140-
to write them.
137+
The test instantiates our PhoneListCtrl and verifies that its phones array property contains three
138+
records. This example demonstrates how easy it is to create a unit test for code in Angular. Since
139+
testing is such a critical part of software development, we make it easy to create tests in Angular
140+
so that developers are encouraged to write them.
141141

142142
Angular developers prefer the syntax of Jasmine's Behavior-driven Development (BDD) framework when
143143
writing tests. Although Angular does not require you to use Jasmine, we wrote all of the tests in

0 commit comments

Comments
 (0)