This could be a single expectation:

``` ruby
expect(summary).to include(:duration => 1.0, example_count => 10, :failure_count => 3, :pending_count => 4)
```