Update deprecated rspec features