Update rspec tests to latest syntax.

I did this to eliminate all the stuff that is going to be deprecated from
rspec. This will help prepare this project for the future.