Skip to content

Commit

Permalink
ITT: assertEloquentHasMany readme info added.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Mar 15, 2017
1 parent 6f4dcb5 commit 3853b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,14 +400,14 @@ $this->assertEloquentTouchesNotEquals(Comment::class, ['user']);

#### `assertEloquentHasMany()`

> NOTE: In order to use this assertion, you have to create model factories for both classes.
Checks if Eloquent model has specified `HasMany` relation:

```php
$this->assertEloquentHasMany(Post::class, 'comments');
```

> NOTE: In order to use this assertion, you have to create model factories for both classes.
### ExceptionAsserts

#### `willSeeException()`
Expand Down

0 comments on commit 3853b13

Please sign in to comment.