removing deprecated rspec syntax