bossa/phpspec2-expect

Helper that decorates any SUS with a phpspec lazy object wrapper

Installs: 201 360

Dependents: 99

Stars: 38

Watchers: 2

Forks: 14

Open Issues: 9

1.0.3 2014-09-12 09:25 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);