Update to RSpec 3

Fix for #266.