bossa/phpspec2-expect

Helper that decorates any SUS with a phpspec lazy object wrapper

Installs: 79 074

Dependents: 69

Stars: 29

Watchers: 3

Forks: 10

Open Issues: 5

Language: PHP

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);