Use `RSpec.current_example` in place of `example`

In order to remove deprecation warning #34