Updated to use Rspec 3.1

Small edit to use Rspec 3.1.