Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
liuggio committed Apr 20, 2015
1 parent 2705ae5 commit a6daa25
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
5 changes: 0 additions & 5 deletions .idea/scopes/scope_settings.xml

This file was deleted.

20 changes: 10 additions & 10 deletions spec/PUGX/Poser/Render/SvgFlatRenderSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ function it_should_render_a_license_mit_exactly_like_this_svg()
$template = <<<EOF
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="20">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="a">
<rect width="40" height="20" rx="3" fill="#fff"/>
<rect width="40" height="20" rx="3" fill="#fff"/>
</mask>
<g mask="url(#a)">
<path fill="#555" d="M0 0h20v20H0z"/>
<path fill="#007ec6" d="M20 0h31v20H20z"/>
<path fill="url(#b)" d="M0 0h40v20H0z"/>
<rect width="20" height="20" fill="#555"/>
<rect x="20" width="20" height="20" fill="#007ec6"/>
<rect width="40" height="20" fill="url(#b)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="25.5" y="15" fill="#010101" fill-opacity=".3">license</text>
<text x="25.5" y="14">license</text>
<text x="63.5" y="15" fill="#010101" fill-opacity=".3">MIT</text>
<text x="63.5" y="14">MIT</text>
<text x="11" y="15" fill="#010101" fill-opacity=".3">license</text>
<text x="11" y="14">license</text>
<text x="29" y="15" fill="#010101" fill-opacity=".3">MIT</text>
<text x="29" y="14">MIT</text>
</g>
</svg>
EOF;
Expand Down

0 comments on commit a6daa25

Please sign in to comment.