removed deprecration warning from rspec location test