[TASK] Update to RSpec 3.

RSpec 3 has removed some methods and changed some configuration defaults.
This change gets the tests to run with RSpec 3 again.