bossa/phpspec2-expect

Helper that decorates any SUS with a phpspec lazy object wrapper

2.1.0 2016-11-23 16:57 UTC

README

phpspec2-expect

Add "bossa/phpspec2-expect": "*" to composer.json

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

Usage

Inside some example:


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