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
This commit is contained in:
Thomas Junghans
2014-04-21 22:29:17 +02:00
committed by Tobias Bosch
parent 9178c318e1
commit 8570585692

View File

@@ -205,7 +205,7 @@ describe('PhoneCat controllers', function() {
it('should create "phones" model with 2 phones fetched from xhr', function() {
expect(scope.phones).toEqual([]);
expect(scope.phones).toEqualData([]);
$httpBackend.flush();
expect(scope.phones).toEqualData(