We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 038db71 commit c40acc5Copy full SHA for c40acc5
1 file changed
README.md
@@ -31,13 +31,13 @@ class UserTest extends PHPUnit_Framework_TestCase {
31
});
32
33
$this->specify("username is too long", function() {
34
- $user->username = 'toolooooongnaaaaaaameeee',
+ $this->user->username = 'toolooooongnaaaaaaameeee',
35
verify($user->validate(['username'])->false());
36
37
38
// alternative, TDD assertions can be used too.
39
$this->specify("username is ok", function() {
40
- $user->username = 'davert',
+ $this->user->username = 'davert',
41
$this->assertTrue($user->validate(['username']));
42
43
}
@@ -227,7 +227,7 @@ $this->cleanSpecify(); // removes before/after callbacks
227
Install with Composer:
228
229
230
-```
+```json
231
"require-dev": {
232
"codeception/specify": "*",
233
"codeception/verify": "*"
0 commit comments