Use new API for Rspec