You are here

public function IssuesTest::test_border_radius in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/tests/tests_compass.php \IssuesTest::test_border_radius()

File

phamlp/tests/tests_compass.php, line 7

Class

IssuesTest

Code

public function test_border_radius() {
  $source = <<<END
@import "compass/css3/border-radius";
.box {
  @include border-radius(4px, 4px);
}
END;
  $expected = <<<END
.box {
  -webkit-border-radius: 4px 4px;
  -moz-border-radius: 4px / 4px;
  -o-border-radius: 4px / 4px;
  -ms-border-radius: 4px / 4px;
  -khtml-border-radius: 4px / 4px;
  border-radius: 4px / 4px;
}
END;
  $this
    ->assertScss($source, $expected);
}