Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #178 from dscape/177-get-session-nock

get session nock
  • Loading branch information...
commit 63df48f21c91dd0e257c942ebbc45749caccc793 2 parents d2f21e8 + 849b5ed
Nuno Job authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/fixtures/shared/cookie.json
6 tests/fixtures/shared/cookie.json
View
@@ -16,6 +16,12 @@
, "status" : 201
, "response" : "{ \"ok\": true,\"name\": null,\"roles\": [ \"_admin\" ] }"
}
+, { "method" : "get"
+ , "path" : "/_session"
+ , "headers" : {"set-cookie" : ["AuthSession=YWRtaW46NEZCMzFERDk6BJyusEcy3SgfI9xD4Mptl0N0gh0;Version=1;Path=/;HttpOnly"]}
+ , "status" : 201
+ , "response" : "{ \"ok\": true,\"userCtx\": {\"name\":\"admin\",\"roles\": [ \"_admin\" ]} }"
+ }
, { "method" : "post"
, "status" : 201
, "path" : "/shared_cookie"
Please sign in to comment.
Something went wrong with that request. Please try again.