Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e118a8b

Browse files
neiljohnstonbtford
authored andcommitted
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.
1 parent 9202767 commit e118a8b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/content/tutorial/step_02.ngdoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ To run the test, do the following:
226226

227227
Refresh your browser and verify that it says "Hello, World!".
228228

229+
* Update the unit test for the controler in ./tests/unit/controlersSpec.js to refelct the previous change. For example by adding:
230+
231+
expect(scope.name).toBe('World');
232+
229233
* Create a repeater that constructs a simple table:
230234

231235
<table>

0 commit comments

Comments
 (0)