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

Commit c3ab915

Browse files
sethstoneIgorMinar
authored andcommitted
docs(tutorial): add missing beforeEach(module()) to test
Test snippet was missing this necessary statement that was present in the sample code. Closes #5743
1 parent f4a4f42 commit c3ab915

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/content/tutorial/step_05.ngdoc

+3
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ describe('PhoneCat controllers', function() {
170170
describe('PhoneListCtrl', function(){
171171
var scope, ctrl, $httpBackend;
172172

173+
// Load our app module definition before each test.
174+
beforeEach(module('phonecatApp'));
175+
173176
// The injector ignores leading and trailing underscores here (i.e. _$httpBackend_).
174177
// This allows us to inject a service but then attach it to a variable
175178
// with the same name as the service.

0 commit comments

Comments
 (0)