Skip to content

Commit

Permalink
Merge pull request angular-app#199 from johnnyoshika/spec-typo-fix
Browse files Browse the repository at this point in the history
docs(security.spec): fix typo in unauthenticated handling spec
  • Loading branch information
petebacondarwin committed Nov 2, 2013
2 parents 88bb5c3 + 75e1e02 commit 1fa863c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/test/unit/common/security/security.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('security', function() {
});
$httpBackend.flush();
});
it('returns true to success handlers if the user was not authenticated', function() {
it('returns false to success handlers if the user was not authenticated', function() {
$httpBackend.when('POST', '/login').respond(200, { user: undefined });
service.login('email', 'password').then(function(loggedIn) {
expect(loggedIn).toBe(false);
Expand Down

0 comments on commit 1fa863c

Please sign in to comment.