For the `RSpec.deprecate` call (that I recommended you to change to above), we've got a helper method for tests:

``` ruby
expect_deprecation_with_call_site(__FILE__, __LINE__ + 1)
RSpec::Core::Runner.autorun
```