```ruby
post :create, document
expect(response).to redirect_to(assigns(document))
```

Or something similar