for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the WPFoundation library.
*
* Copyright (c) 2015-2016 LIN3S <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\LIN3S\WPFoundation\Configuration\Assets;
use LIN3S\WordPressPhpSpecBridge\ObjectBehavior;
/**
* Spec of Assets class.
* @author Beñat Espiña <[email protected]>
class AssetsSpec extends ObjectBehavior
{
function let()
$this->beAnInstanceOf('fixtures\LIN3S\WPFoundation\Assets');
}
function it_extends_assets()
$this->shouldHaveType('LIN3S\WPFoundation\Configuration\Assets\Assets');
function it_implements_assets_interface()
$this->shouldHaveType('LIN3S\WPFoundation\Configuration\Assets\AssetsInterface');
function it_should_be_admin_assets()
$this->adminAssets();
function it_should_be_development_assets()
$this->developmentAssets();
function it_should_be_production_assets()
$this->productionAssets();