Closed electricjones closed 9 years ago
Referring to #16, this PR makes it possible to optionally test the exception message.
Of course, this is only an enhancement, the current api has not changed.
$this->specify('user is invalid', function() { throw new RuntimeException("test message"); }, ['throws' => ["RuntimeException()", "test message"]]);
A couple notes
throws
I am willing to mix this up if needed. We needed this for our team and just thought I'd share it with the world.
Thanks. I'll release a new version for that
Appreciate it. If you need anything else, let me know.
Referring to #16, this PR makes it possible to optionally test the exception message.
Of course, this is only an enhancement, the current api has not changed.
A couple notes
throws
parameters (object, string, fail(), etc)I am willing to mix this up if needed. We needed this for our team and just thought I'd share it with the world.