'spacer',
'styles' => [
'block' => [
'backgroundColor' => 'transparent',
'height' => '13px',
],
],
];
function testItRendersCorrectly() {
$output = Spacer::render($this->block);
$expected_result = '
|
';
expect($output)->equals($expected_result);
}
function testsItRendersWithBackground() {
$this->block['styles']['block']['backgroundColor'] = "#ffffff";
$output = Spacer::render($this->block);
$expected_result = '
|
';
expect($output)->equals($expected_result);
}
}