log out after smoke tests

This commit is contained in:
Henry Oswald 2014-05-19 11:53:10 +01:00
parent af2de3cdeb
commit 6f9969d6e1

View file

@ -34,6 +34,17 @@ describe "Opening", ->
throw error if error?
done()
after (done)->
request.get {
url: buildUrl("logout")
headers:
"X-Forwarded-Proto": "https"
}, (error, response, body) =>
throw error if error?
done()
it "a project", (done) ->
request {
url: buildUrl("project/#{Settings.smokeTest.projectId}")