Fix Smoke test to use new title

This commit is contained in:
James Allen 2014-08-06 11:50:19 +01:00
parent 07a2955341
commit dc54fe3d2e

View file

@ -66,7 +66,7 @@ describe "Opening", ->
}, (error, response, body) ->
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 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 - ShareLaTeX, the Online LaTeX Editor</title>"), "smoke test: body does not have correct title").to.equal true
expect(!!body.match("ProjectPageController"), "smoke test: body does not have correct angular controller").to.equal true
done()