Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Step 4 - Tutorial code different than github code #213

Closed
@gregdm

Description

Remove : inject(function($controller)
In Github test/unit/controllersSpecs.js :

it('should create "phones" model with 3 phones', inject(function($controller) {
  expect(scope.phones.length).toBe(3);
}));

in official tuto :

it('should create "phones" model with 3 phones', function() {
  expect(scope.phones.length).toBe(3);
});

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions