remove deprecated rspec syntax