PHP Class spec\Spatie\Browsershot\BrowsershotSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: spatie/browsershot

Public Methods

Method Description
getMatchers ( )
getTestPath ( ) * still figuring out how this test can be run on Travis CI
getTestURL ( )
it_is_initializable ( )
it_should_fail_if_binary_does_not_exist ( )
it_should_fail_if_invalid_url_is_set ( )
it_should_fail_if_target_file_is_not_set ( )
it_should_fail_if_target_file_not_is_image ( )

Method Details

getMatchers() public method

public getMatchers ( )

getTestPath() public method

function it_should_create_an_image_if_run_succesfully() { $this ->setURL($this->getTestURL()) ->save($this->getTestPath()); $this->shouldExist($this->getTestPath()); }
public getTestPath ( )

getTestURL() public method

public getTestURL ( )

it_is_initializable() public method

public it_is_initializable ( )

it_should_fail_if_binary_does_not_exist() public method

it_should_fail_if_invalid_url_is_set() public method

it_should_fail_if_target_file_is_not_set() public method

it_should_fail_if_target_file_not_is_image() public method