changed smoke test message

This commit is contained in:
Henry Oswald 2014-04-01 11:14:31 +01:00
parent eabd440bb6
commit d41807e667

View file

@ -52,7 +52,7 @@ describe "Opening", ->
"X-Forwarded-Proto": "https" "X-Forwarded-Proto": "https"
}, (error, response, body) -> }, (error, response, body) ->
expect(error, "smoke test: error returned in getting project list").to.not.exist expect(error, "smoke test: error returned in getting project list").to.not.exist
expect(response.statusCode, "smoke test: response code is not 200 getting project life").to.equal(200) expect(response.statusCode, "smoke test: response code is not 200 getting project list").to.equal(200)
expect(!!body.match("<title>Your Projects - Online LaTeX Editor ShareLaTeX</title>"), "smoke test: body does not have correct title").to.equal true expect(!!body.match("<title>Your Projects - Online LaTeX Editor ShareLaTeX</title>"), "smoke test: body does not have correct title").to.equal true
expect(!!body.match("<h1>Projects</h1>"), "smoke test: body does not have correct h1").to.equal true expect(!!body.match("<h1>Projects</h1>"), "smoke test: body does not have correct h1").to.equal true
done() done()