Sha256: 2a7feef0ee932df4e5526be674fb5adb280e6aaf5b87cf8f5949dac62ffe6795

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

Feature: Middleman Blog support

  Scenario: Non article page
    Given the Server is running at "test-blog"
    When I go to "/"
    Then I should see '<meta content="website" property="og:type" />'
    Then I should see '<meta content="http://myblog.foo.tld/" property="og:url" />'
    Then I should see '<meta content="Fixture page" property="og:title" />'

  Scenario: article page
    Given the Server is running at "test-blog"
    When I go to "/2014/04/12/my-test.html"
    Then I should see '<meta content="article" property="og:type" />'
    Then I should see '<meta content="2014-04-12T04:00:00Z" property="article:published_time" />'
    Then I should see '<meta content="ruby" property="article:tag" />'
    Then I should see '<meta content="middleman" property="article:tag" />'
    Then I should see '<meta content="Test" property="article:author:first_name" />'
    Then I should see '<meta content="Author" property="article:author:last_name" />'
    Then I should see '<meta content="test_author" property="article:author:username" />'
    Then I should see '<meta content="female" property="article:author:gender" />'
    Then I should see '<meta content="Test Section" property="article:section" />'
    Then I should see '<meta content="2014-04-13T03:00:00Z" property="article:modified_time" />'
    Then I should see '<meta content="2018-04-12T04:00:00Z" property="article:expiration_time" />'
    Then I should see '<meta content="blog" property="article:tag" />'
    Then I should see '<meta content="http://myblog.foo.tld/2014/04/12/my-test.html" property="og:url" />'
    Then I should see '<meta content="Fixture page" property="og:title" />'


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-ogp-1.3.0 features/blog.feature