Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Typo: whenCalledUnauthenticated should use givenAnUnauthenticatedToken() #66

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

lemoncola
Copy link

I believe it was an copy and paste error ('givenAnAnonymousToken' instead of givenAnUnauthenticatedToken)

@slnode
Copy link

slnode commented Jul 18, 2015

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

… or 401

- it.shouldBeDenied() will expect 401 only.
- it.shouldBeDeniedWhenCalledByUser() uses it.shouldBeDeniedByAcl()
- it.shouldBeDeniedWhenCalledByUserWithRole() uses it.shouldBeDeniedByAcl()

http://docs.strongloop.com/display/public/LB/config.json
strongloop/loopback#1513
givenUserModel() can now won't conflict with the functions below:

- givenLoggedInUser()
- whenLoggedInAsUser()
- whenCalledByUser()
- shouldBeXXXWhenCalledByUser()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

4 participants