Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Commit

Permalink
Fix tests + add caching changes to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bramdevries committed Jul 28, 2015
1 parent 9995ec4 commit 4107714
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## 1.0.1 - 28-07-2015

### Changed

- Metadata retrieved from a CSV file is now cached until said file has changed

### Fixed

- Use correct attribute name for unwrapped meta tags
Expand Down
26 changes: 13 additions & 13 deletions tests/MetadataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ public function testCanRenderMetadata()
<meta name="twitter:card" property="og:card" content="summary">
<meta name="twitter:site" property="og:site" content="website">
<meta name="twitter:url" property="og:url" content="foo.com">
<meta name="title" contents="Foo">
<meta name="keywords" contents="foo;bar">
<meta name="description" contents="Foobar">
<meta name="title" content="Foo">
<meta name="keywords" content="foo;bar">
<meta name="description" content="Foobar">
<meta name="twitter:image:src" property="og:image" content="http://foo.com/assets/app/img/logo.png">
EOF;
Expand All @@ -83,9 +83,9 @@ public function testCanPassAdditionalAttributes()
<meta name="twitter:card" property="og:card" content="summary">
<meta name="twitter:site" property="og:site" content="website">
<meta name="twitter:url" property="og:url" content="foo.com">
<meta name="title" contents="Foo">
<meta name="keywords" contents="foo;bar">
<meta name="description" contents="Foobar">
<meta name="title" content="Foo">
<meta name="keywords" content="foo;bar">
<meta name="description" content="Foobar">
<meta name="twitter:foo" property="og:foo" content="bar">
<meta name="twitter:image:src" property="og:image" content="http://foo.com/assets/app/img/logo.png">
Expand All @@ -105,10 +105,10 @@ public function testCanDefineUnwrappedProperties()
<meta name="twitter:card" property="og:card" content="summary">
<meta name="twitter:site" property="og:site" content="website">
<meta name="twitter:url" property="og:url" content="foo.com">
<meta name="title" contents="Foo">
<meta name="keywords" contents="foo;bar">
<meta name="description" contents="Foobar">
<meta name="foo" contents="bar">
<meta name="title" content="Foo">
<meta name="keywords" content="foo;bar">
<meta name="description" content="Foobar">
<meta name="foo" content="bar">
<meta name="twitter:image:src" property="og:image" content="http://foo.com/assets/app/img/logo.png">
EOF;
Expand All @@ -125,9 +125,9 @@ public function testCanDefineProject()
<meta name="twitter:card" property="og:card" content="summary">
<meta name="twitter:site" property="og:site" content="arrounded">
<meta name="twitter:url" property="og:url" content="foo.com">
<meta name="title" contents="Foo">
<meta name="keywords" contents="foo;bar">
<meta name="description" contents="Foobar">
<meta name="title" content="Foo">
<meta name="keywords" content="foo;bar">
<meta name="description" content="Foobar">
<meta name="twitter:image:src" property="og:image" content="http://foo.com/assets/app/img/logo.png">
EOF;
Expand Down

0 comments on commit 4107714

Please sign in to comment.