Minor nit, if you wouldn't mind fixing up: This test should have name that's more descriptive name. How about this? 

```ruby
context '#count' do
  it 'returns the number of documents in the table' do
    …your code…
  end
end
```