Update rspec version to 3.1.0

Just checked that is wasn't up to date with `rspec` and using the old syntax. So I took a few minutes to update it. I hope it's fine.