From 710f2c7bb046b43ec9878ae795a181101f6d7515 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 5 Sep 2015 23:30:56 -0400 Subject: Improve unit tests --- tests/units/Helper/AssetHelperTest.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/units/Helper/AssetHelperTest.php (limited to 'tests/units/Helper/AssetHelperTest.php') diff --git a/tests/units/Helper/AssetHelperTest.php b/tests/units/Helper/AssetHelperTest.php new file mode 100644 index 00000000..ece81d04 --- /dev/null +++ b/tests/units/Helper/AssetHelperTest.php @@ -0,0 +1,21 @@ +container); + $c = new Config($this->container); + + $this->assertEmpty($h->customCss()); + + $this->assertTrue($c->save(array('application_stylesheet' => 'p { color: red }'))); + + $this->assertEquals('', $h->customCss()); + } +} -- cgit v1.2.3