bossa/phpspec2-expect

Helper that decorates any SUS with a phpspec lazy object wrapper

3.0.0 2017-07-31 08:26 UTC

README

Build Status

phpspec2-expect

Installation

Install it using the composer require command:

   composer require --dev bossa/phpspec2-expect

Alternativelly you can add it to the composer.json file

{
    "require-dev": {
         "bossa/phpspec2-expect": "^2.2"
    },
    "config": {
        "bin-dir": "bin"
    },
    "minimum-stability": "dev",
    "autoload": {
        "psr-0": {
            "spec": "",
            "": "src"
        }
    }
}

Usage

Inside some example:


       expect(file_exists('crazyfile.xtn'))->toBe(true);