Skip to content

Commit c40acc5

Browse files
committed
Update README.md
1 parent 038db71 commit c40acc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ class UserTest extends PHPUnit_Framework_TestCase {
3131
});
3232

3333
$this->specify("username is too long", function() {
34-
$user->username = 'toolooooongnaaaaaaameeee',
34+
$this->user->username = 'toolooooongnaaaaaaameeee',
3535
verify($user->validate(['username'])->false());
3636
});
3737

3838
// alternative, TDD assertions can be used too.
3939
$this->specify("username is ok", function() {
40-
$user->username = 'davert',
40+
$this->user->username = 'davert',
4141
$this->assertTrue($user->validate(['username']));
4242
});
4343
}
@@ -227,7 +227,7 @@ $this->cleanSpecify(); // removes before/after callbacks
227227
Install with Composer:
228228

229229

230-
```
230+
```json
231231
"require-dev": {
232232
"codeception/specify": "*",
233233
"codeception/verify": "*"

0 commit comments

Comments
 (0)