mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
updating tests to match casper
This commit is contained in:
parent
05c49ef989
commit
a620e9017e
1 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ describe('Frontend Routing', function () {
|
|||
request.get('/')
|
||||
.expect(200)
|
||||
.expect(/\<link rel="canonical" href="http:\/\/127.0.0.1:2370\/" \/\>/)
|
||||
.expect(/copyright \<a href="http:\/\/127.0.0.1:2370\/">Ghost\<\/a\>/)
|
||||
.expect(/\<a href="http:\/\/127.0.0.1:2370">Ghost\<\/a\>/)
|
||||
.end(doEnd(done));
|
||||
});
|
||||
|
||||
|
@ -179,7 +179,7 @@ describe('Frontend Routing', function () {
|
|||
.set('X-Forwarded-Proto', 'https')
|
||||
.expect(200)
|
||||
.expect(/\<link rel="canonical" href="https:\/\/localhost\/" \/\>/)
|
||||
.expect(/copyright \<a href="https:\/\/localhost\/">Ghost\<\/a\>/)
|
||||
.expect(/\<a href="https:\/\/localhost">Ghost\<\/a\>/)
|
||||
.end(doEnd(done));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue