Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logout functionality #76

Merged
merged 1 commit into from
Feb 2, 2017
Merged

Add logout functionality #76

merged 1 commit into from
Feb 2, 2017

Conversation

MatiasComercio
Copy link
Owner

Summary

  • Add logout functionality
  • Update Authentication.spec
  • Update memoryFactory.spec
  • Update navbar.spec

Notes

  • Logout is implemented on the navbar directive

Trello Card

https://trello.com/c/6w6HRgpn/62-agregar-logout-controller

Copy link
Owner Author

@MatiasComercio MatiasComercio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just this and you are ready 😄

});

it('redirects to the login page', function() {
expect($location.path).toHaveBeenCalledWith('/login');
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be using the Paths service, not hardcoded URLs

- Update Authentication.spec
- Update memoryFactory.spec
- Update navbar.spec

- Notes
  - Logout is implemented on the navbar directive
@MatiasComercio MatiasComercio merged commit 90d75e4 into development Feb 2, 2017
@MatiasComercio MatiasComercio deleted the add-logout branch February 2, 2017 21:19
MatiasComercio added a commit that referenced this pull request Feb 5, 2017
- Update Authentication.spec
- Update memoryFactory.spec
- Update navbar.spec

- Notes
  - Logout is implemented on the navbar directive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant