Fix RSpec deprecations