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

Commit 8570585

Browse files
tjunghanstbosch
authored andcommitted
docs(tutorial): update step_11.ngdoc
Change toEqual to toEqualData in the test 'should create "phones" model with 2 phones fetched from xhr' to make test more consistent. Closes #7182
1 parent 9178c31 commit 8570585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/tutorial/step_11.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ describe('PhoneCat controllers', function() {
205205

206206

207207
it('should create "phones" model with 2 phones fetched from xhr', function() {
208-
expect(scope.phones).toEqual([]);
208+
expect(scope.phones).toEqualData([]);
209209
$httpBackend.flush();
210210

211211
expect(scope.phones).toEqualData(

0 commit comments

Comments
 (0)