Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
zendframework/zendframework#6635 - test case to prevent regressions o…
Browse files Browse the repository at this point in the history
…n the 'sizes' attribute
  • Loading branch information
Ocramius committed Dec 5, 2014
1 parent 1ad82c3 commit 7b76b3a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/Helper/HeadLinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -436,4 +436,13 @@ public function testIdAttributeIsSupported()
$this->helper->appendStylesheet(array('href' => '/bar/baz', 'id' => 'foo'));
$this->assertContains('id="foo"', $this->helper->toString());
}

/**
* @group 6635
*/
public function testSizesAttributeIsSupported()
{
$this->helper->appendStylesheet(array('rel' => 'icon', 'href' => '/bar/baz', 'sizes' => '123x456'));
$this->assertContains('sizes="123x456"', $this->helper->toString());
}
}

0 comments on commit 7b76b3a

Please sign in to comment.