Either is fine, but in case you prefer it:

```ruby
RSpec.deprecate(
  what_to_deprecate,
  :replacement => "`expect { }.not_to raise_error()` (with no args)"
)
```

is how I might do it.