Fix tests after RSpec upgrade.