From b48ca2c7ed0e012984613856f7dfc4514e9c4f1f Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 8 Aug 2014 13:11:49 +0100 Subject: [PATCH] fixed smoke test breaking on title, removed "the" as its not great for SEO (i think) --- services/web/test/smoke/coffee/SmokeTests.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/test/smoke/coffee/SmokeTests.coffee b/services/web/test/smoke/coffee/SmokeTests.coffee index 2408b3144f..94ab923f79 100644 --- a/services/web/test/smoke/coffee/SmokeTests.coffee +++ b/services/web/test/smoke/coffee/SmokeTests.coffee @@ -58,6 +58,7 @@ describe "Opening", -> expect(match, "smoke test: project page html does not have project_id").to.equal true done() + it "the project list", (done) -> request { url: buildUrl("project") @@ -66,7 +67,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("Your Projects - ShareLaTeX, the Online LaTeX Editor"), "smoke test: body does not have correct title").to.equal true + expect(!!body.match("Your Projects - ShareLaTeX, Online LaTeX Editor"), "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()