parent
83d27dd7b2
commit
59587f5136
|
@ -5,4 +5,7 @@ Feature: Homepage
|
||||||
|
|
||||||
Scenario:
|
Scenario:
|
||||||
Given I am on "/"
|
Given I am on "/"
|
||||||
Then I should see "I’m a Web Developer and System Administrator based in Wales, UK."
|
Then the response status code should be 200
|
||||||
|
And I should see "I’m a Web Developer and System Administrator based in Wales, UK."
|
||||||
|
And the "title" element should contain "Web Developer, System Administrator - PHP, Drupal, Symfony, Linux | Oliver Davies"
|
||||||
|
And the "title" element should not contain "About | Oliver Davies"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% spaceless %}<title>
|
{% spaceless %}<title>
|
||||||
{% if page.front %}
|
{% if page.url == '/.' %}
|
||||||
{{ site.subtitle }} | {{ site.title }}
|
{{ site.subtitle }} | {{ site.title }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ page.title }} | {{ site.title }}
|
{{ page.title }} | {{ site.title }}
|
||||||
|
|
Loading…
Reference in a new issue